Name
uname
Synopsis
uname [options]
Description
Print information about the machine and operating system. Without options, print the name of the operating system (Linux).
Options
- -a, --all
Combine all the system information from the other options.
- -m, --machine
Print the hardware the system is running on.
- -n, --nodename
Print the machine’s hostname.
- -r, --release
Print the release number of the kernel.
- -s, --sysname
Print the name of the operating system (Linux).
- -p, --processor
Print the type of processor (not available on all versions).
- -v
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, Third 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.