Name
uname [options
] — coreutils
Synopsis
/bin
stdin stdout - file -- opt --help --version
The uname
command prints fundamental information about your computer:
$ uname -a Linux server.example.com 2.4.18-27.8.0 #1 Fri Mar 14 06: 45:49 EST 2003 i686 i686 i386 GNU/Linux
This includes the kernel name (Linux), hostname (server.example.com), kernel version (2.4.18-27.8.0 #1 Fri Mar 14 06:45:49 EST 2003), hardware name (i686), processor type (i686), hardware platform (i386), and operating system name (GNU/Linux).
Useful options | |
| All information. |
| Only the kernel name (the default). |
| Only the hostname. |
| Only the kernel version. |
| Only the hardware name. |
| Only the processor type. |
| Only the hardware platform. |
| Only the operating system name. |
Get Linux Pocket Guide 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.