Files
cheatsheet-tldr/tldr/uname
2025-01-19 00:18:40 +00:00

31 lines
647 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# uname
> Print details about the current machine and the operating system running on it.
> See also `lsb_release`.
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/uname-invocation.html>.
- Print kernel name:
`uname`
- Print system architecture and processor information:
`uname --machine --processor`
- Print kernel name, kernel release and kernel version:
`uname --kernel-name --kernel-release --kernel-version`
- Print system hostname:
`uname --nodename`
- Print all available system information:
`uname --all`