//View Tip #89
Similar Tips
» Random line
» Top ten running processes
» List 10 biggest files in a directory
» Sorting debian packages installed by size
» Randomize lines in a file

 

Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
sort a file by the first column in dictionary order, then by the second column numerically.


sort +0d -1 +1n -2 file.txt


View Comments »




Comments 

Add your comment

Comments are currently disabled
No Comments

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit