Home Reverse colors Help
Single page Previous Contents Next

Introduction to GNU/Linux
61 / 102

Sorting and Removing Duplicate Lines

sort
Sort lines of text files.
uniq
Remove duplicate lines from a sorted file.
cat *.txt | sort | uniq > result-file

Previous Contents Next
Contact