This website requires JavaScript.
Explore
Help
Sign In
ctome
/
tldr
mirror of
https://github.com/CrimsonTome/tldr.git
Watch
1
Star
0
Fork
You've already forked tldr
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
c9d0ed3e16
tldr
/
pages
/
common
/
sort.md
220 B
Raw
Blame
History
sort
Sort lines of text files.
Sort a file in ascending order:
sort {{filename}}
Sort a file in descending order:
sort -r {{filename}}
Sort passwd file by the 3rd field:
sort -t: -k 3n /etc/passwd