Tag: sort
Sort by Line Length
April 14, 2009
Sort file by line length. Original Article… cat /etc/passwd | awk ‘{print length, 0}’ | sort -n | awk ‘{1=””;…
Find Duplicate Lines
May 21, 2008
Sort contents of two files by viewing only duplicate line sort file1 file2 | uniq -d
Command to Sort Files by Size
February 1, 2008
Show size of the files and directories sorted by size du -sk * | sort -rn
Sort a File
December 12, 2007
A Linux command to sort the contests of a file sort file.ext [tags][/tags]
Recent Comments