How to determine the version of Solaris you are running.
uname -a
This will list the Solaris version on your server.
uname -X will display the extended information with more detailed info.
Other options for uname.
Operating system name (uname -s)
Node name (uname -n)
Operating system release (uname -r)
Operating system version (uname -v)
Machine class (uname -m)
Instruction set architecture (uname -p)
Platform string (uname -i)
cat /etc/release
The cat command will give you more detailed version information.
Below are the commands to determine the version Linux.
uname -a
This will list the version if Linux.
ls /etc/*release*
This will list all the files that contains the version information. Simply display the contents of the file with the cat command.
Commands to list the version of Aix.
oslevel -g
This will privide detailed Aix vertsion information.
uname -a
This command is common to all variants of Unix and Linux.