mirror of https://github.com/CrimsonTome/tldr.git
sort.md: sync linux & common versions
parent
8eadb597a6
commit
894921a9e2
|
@ -10,6 +10,10 @@
|
|||
|
||||
`sort -r {{filename}}`
|
||||
|
||||
- Sort a file using numeric rather than alphabetic order:
|
||||
|
||||
`sort -n {{filename}}`
|
||||
|
||||
- Sort the passwd file by the 3rd field, numerically:
|
||||
|
||||
`sort -t: -k 3n /etc/passwd`
|
||||
|
|
Loading…
Reference in New Issue