1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-28 22:44:54 +02:00

Merge pull request #841 from Larry850806/patch-1

Update sort.md
This commit is contained in:
Leandro Ostera 2016-03-31 08:42:21 +02:00
commit c5733261b5

View file

@ -13,3 +13,11 @@
- Sort passwd file by the 3rd field:
`sort -t: -k 3n /etc/passwd`
- Sort a file as number in ascending order:
`sort -n {{filename}}`
- Sort a file preserving only unique lines:
`sort -u {{filename}}`