I am connecting to SunOs 5.8 server from windows machine through putty. My problem is commands are not showing any colours results. I want to see 'ls' command should list directories in 'red' and files in 'green' etc. How to do it . Please help.
Also How to enable syntax colouring in vi or vim. ? please let me know.
uname -a is available on most *nix platforms and gives some info on system type.
You could also try cat /etc/*{release,version} , or check the contents of /etc/motd.