# Sort and Unique

Sort contents of a file and remove repeated lines


sort file.txt | uniq

Author: Binny V A
A philosopher programmer who specializes in backend development and stoicism.

## 1 thought on “Sort and Unique”

1. You can specify multiple files if needed – just add it to the end of the sort command – sort file1 file2|uniq