1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/uname.md

38 lines
782 B
Markdown
Raw Normal View History

# uname
2015-12-07 03:51:25 +02:00
> Print details about the current machine and the operating system running on it.
2021-07-24 19:03:30 +01:00
> See also `lsb_release`.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/uname-invocation.html>.
2015-10-09 08:54:24 +01:00
2021-07-24 19:03:30 +01:00
- Print kernel name:
2021-07-24 19:03:30 +01:00
`uname`
- Print all available system information:
`uname {{[-a|--all]}}`
2021-07-24 19:03:30 +01:00
- Print system architecture and processor information:
`uname {{[-mp|--machine --processsor]}}`
2021-07-24 19:03:30 +01:00
- Print kernel name, kernel release and kernel version:
`uname {{[-srv|--kernel-name --kernel-release --kernel-version]}}`
2015-12-23 18:16:11 +02:00
2021-07-24 19:03:30 +01:00
- Print system hostname:
2015-12-23 18:16:11 +02:00
`uname {{[-n|--nodename]}}`
2021-07-24 19:03:30 +01:00
- Print the current operating system name:
`uname {{[-o|--operating-system]}}`
- Print the current network node host name:
`uname {{[-n|--nodename]}}`
- Display help:
2021-07-24 19:03:30 +01:00
`uname --help`