1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

sort.md: sync linux & common versions

This commit is contained in:
Waldir Pimenta 2016-05-10 14:16:03 +01:00
parent 8eadb597a6
commit 894921a9e2

View file

@ -10,6 +10,10 @@
`sort -r {{filename}}` `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 the passwd file by the 3rd field, numerically:
`sort -t: -k 3n /etc/passwd` `sort -t: -k 3n /etc/passwd`