mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 04:50:07 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
41
tldr/linux/uname
Normal file
41
tldr/linux/uname
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# uname
|
||||
|
||||
> Uname prints information about the machine and operating system it is run on.
|
||||
> More information: <https://www.gnu.org/software/coreutils/manual/html_node/uname-invocation.html>.
|
||||
|
||||
- Print all information:
|
||||
|
||||
`uname --all`
|
||||
|
||||
- Print the current kernel name:
|
||||
|
||||
`uname --kernel-name`
|
||||
|
||||
- Print the current network node host name:
|
||||
|
||||
`uname --nodename`
|
||||
|
||||
- Print the current kernel release:
|
||||
|
||||
`uname --kernel-release`
|
||||
|
||||
- Print the current kernel version:
|
||||
|
||||
`uname --kernel-version`
|
||||
|
||||
- Print the current machine hardware name:
|
||||
|
||||
`uname --machine`
|
||||
|
||||
- Print the current processor type:
|
||||
|
||||
`uname --processor`
|
||||
|
||||
- Print the current operating system name:
|
||||
|
||||
`uname --operating-system`
|
||||
Reference in New Issue
Block a user