10.14. The uname command

Apart from the hostname command, you can also use the uname -n command to display the host name of your system. Without any flags, the uname command will display the operating system that your are using.

You can also use the uname -x command to display:

  • The operating system that your are using

  • The host name

  • The machine ID number of the hardware running the system

  • The release number of the operating system

  • The operating system version

  • The system model name

A few examples of the use of the uname command are shown in Figure 10-20.

Figure 10-20. The uname command

Get IBM eServer Certification Study Guide - pSeries AIX System Administration now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.