Find Duplicate Lines
Tagged with: command, duplicate, line, Linux, sort, uniq
Wednesday, May 21st, 2008 11:05 PM
Sort contents of two files by viewing only duplicate line
sort file1 file2 | uniq -d
Sort contents of two files by viewing only duplicate line
sort file1 file2 | uniq -d
Sort contents of a file and remove repeated lines
sort file.txt | uniq
Show size of the files and directories sorted by size
du -sk * | sort -rn
A Linux command to sort the contests of a file
sort file.ext
[tags][/tags]