Linux Comm Uuname
# Linux uname Command
[ Linux Command Manual](#)
The Linux uname command is used to display information about the current system.
uname is an abbreviation for "UNIX name", providing a quick way to view system information.
The uname command can provide information such as the system name, version, hardware architecture, etc., helping users quickly understand the configuration of the current operating system.
### Syntax
uname
The output content and detailed information of the uname command will vary depending on the different options.
**Parameter Description**:
* `-a, --all`: Displays all available information, including kernel name, node name, kernel version, machine type, processor type, hardware platform, and operating system.
* `-s, --kernel-name`: Displays the kernel name.
* `-n, --nodename`: Displays the network node name.
* `-r, --kernel-release`: Displays the kernel release version.
* `-v, --kernel-version`: Displays the kernel version.
* `-m, --machine`: Displays the hardware architecture of the computer.
* `-p, --processor`: Displays the processor type.
* `-i, --hardware-platform`: Displays the hardware platform.
* `-o, --operating-system`: Displays the operating system name.
### Examples
1. Display all system information:
uname -a
Output example:
Linux myhostname 5.8.0-53-generic #60~18.04.1-Ubuntu SMP Tue Apr 13 20:37:32 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
**Explanation:**
* `Linux`: Operating system name
* `myhostname`: Hostname
* `5.8.0-53-generic`: Kernel version
* `#60~18.04.1-Ubuntu SMP Tue Apr 13 20:37:32 UTC 2021`: Kernel compilation information and time
* `x86_64`: Machine architecture
* `GNU/Linux`: Operating system type
2. View kernel version:
uname -r
Output example:
5.8.0-53-generic
3. View operating system name:
uname -s
Output example:
Linux
4. View hardware architecture:
uname -m
Output example:
x86_64
YouTip