tldr/pages/common/uname.md

26 lines
521 B
Markdown
Raw Normal View History

# uname
2015-12-07 01:51:25 +00: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/uname>.
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`
2021-07-24 19:03:30 +01:00
- Print system architecture and processor information:
2021-07-24 19:03:30 +01:00
`uname --machine --processor`
2021-07-24 19:03:30 +01:00
- Print kernel name, kernel release and kernel version:
2021-07-24 19:03:30 +01:00
`uname --kernel-name --kernel-release --kernel-version`
2015-12-23 16:16:11 +00:00
2021-07-24 19:03:30 +01:00
- Print system hostname:
2015-12-23 16:16:11 +00:00
2021-07-24 19:03:30 +01:00
`uname --nodename`
- Print all available system information:
`uname --all`