mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
uname: add shortform options (#15856)
use {{[-short|--long]}} syntax for options instead of only displaying short formats
This commit is contained in:
@@ -5,32 +5,32 @@
|
||||
|
||||
- Print all information:
|
||||
|
||||
`uname --all`
|
||||
`uname {{[-a|--all]}}`
|
||||
|
||||
- Print the current kernel name:
|
||||
|
||||
`uname --kernel-name`
|
||||
`uname {{[-s|--kernel-name]}}`
|
||||
|
||||
- Print the current network node host name:
|
||||
|
||||
`uname --nodename`
|
||||
`uname {{[-n|--nodename]}}`
|
||||
|
||||
- Print the current kernel release:
|
||||
|
||||
`uname --kernel-release`
|
||||
`uname {{[-r|--kernel-release]}}`
|
||||
|
||||
- Print the current kernel version:
|
||||
|
||||
`uname --kernel-version`
|
||||
`uname {{[-v|--kernel-version]}}`
|
||||
|
||||
- Print the current machine hardware name:
|
||||
|
||||
`uname --machine`
|
||||
`uname {{[-m|--machine]}}`
|
||||
|
||||
- Print the current processor type:
|
||||
|
||||
`uname --processor`
|
||||
`uname {{[-p|--processsor]}}`
|
||||
|
||||
- Print the current operating system name:
|
||||
|
||||
`uname --operating-system`
|
||||
`uname {{[-o|--operating-system]}}`
|
||||
|
||||
Reference in New Issue
Block a user