//View Tip #89
Similar Tips
» Count files by type
» Get an ordered list of subdirectory sizes
» Sorting debian packages installed by size
» Sort a file by line length
» Random line


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 »


Add your comment

Comments are currently disabled
No Comments

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit