Name
uname
Synopsis
uname [options
]
Print information about the machine and operating system. Without options, print the name of the kernel (Linux).
Options
- -a, --all
Combine all the system information from the other options.
- -i, --hardware-platform
Print the system’s hardware platform.
- -m, --machine
Print the name of the hardware that the system is running on.
- -n, --nodename
Print the machine’s hostname.
- -o, --operating-system
Print the operating system name.
- -p, --processor
Print the type of processor.
- -r, --kernel-release
Print the release number of the kernel.
- -s, --kernel-name
Print the name of the kernel (Linux). This is the default action.
- -v, --kernel-version
Print build information about the kernel.
- --help
Display a help message and then exit.
- --version
Print version information and then exit.
Get Linux in a Nutshell, 6th Edition 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.