Print the available kernel and machine details.
uname -aPrint system information. The -a flag requests the available details.
uname [OPTION]...Print the available kernel and machine details.
uname -aShow the kernel release string.
uname -r| Option / clause | Description |
|---|---|
-a, --all | Print all available system information. |
-s, --kernel-name | Print the kernel name. |
-r, --kernel-release | Print the kernel release. |
-m, --machine | Print the hardware machine name. |
-n, --nodename | Print the network node hostname. |
-o, --operating-system | Print the operating-system name (where supported). |
Review a command and its target before running it. Commands that alter files, services, accounts, disks, permissions or databases may be difficult to reverse. Test in a safe environment and keep backups.