1
0
Fork 0
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:
ae7th 2025-03-07 07:39:27 +01:00 committed by GitHub
parent 3b17800dbd
commit ea359b5419
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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]}}`