How-To Geek
Get the Version of Solaris Running
Getting the exact version of the Solaris operating system running on your system can be useful, especially if you are connected to a remote server.
uname -r
The uname command can be used to get system information. In this case we are going to use the -r command to get release information.
Example:
# uname -r
5.10
Got Feedback? Join the discussion at discuss.howtogeek.com
Comments (1)
Programmer by day, geek by night, The Geek, also known as Lowell Heddings, spends all his free time bringing you fresh geekery on a daily basis. You can follow him on Google+ if you'd like.
- Published 12/1/06




Checking /etc/release will give you a bit more info as well … not great for scripting but has more verbose information if required.
# cat /etc/release
Solaris 10 8/07 s10s_u4wos_12b SPARC
Copyright 2007 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 August 2007