Identifying the version of Solaris installed on a system is a common task for system administrators. There are several ways to check the Solaris release, each with its own advantages and disadvantages. One common method is to use the ‘uname’ command. ‘uname’ is a command-line utility that provides information about the system’s hardware and software environment. To use ‘uname’ to check the Solaris release, simply type ‘uname -r’ at the command prompt. This will print the Solaris release number to the console.
Another method for checking the Solaris release is to use the ‘prtconf’ command. ‘prtconf’ is a command-line utility that provides detailed information about the system’s hardware configuration. To use ‘prtconf’ to check the Solaris release, type ‘prtconf | grep Release’ at the command prompt. This will print the Solaris release number, along with other system information, to the console.