Posted in Command Line, Linux Sort and Unique Binny V A May 11, 2008 1 Comment on Sort and Unique Sort contents of a file and remove repeated lines sort file.txt | uniq Author: Binny V AA philosopher programmer who specializes in backend development and stoicism.
You can specify multiple files if needed – just add it to the end of the sort command – sort file1 file2|uniq Reply
You can specify multiple files if needed – just add it to the end of the sort command – sort file1 file2|uniq