mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
uname: add shortform options (#15856)
use {{[-short|--long]}} syntax for options instead of only displaying short formats
This commit is contained in:
parent
3b17800dbd
commit
ea359b5419
1 changed files with 8 additions and 8 deletions
|
@ -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]}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue