Methods Filter Duplicate Line In Linux For Newbie

  • Thread starter
  • Thread Author
If you have a lot of txt files, and want extract specific url ,ex:ample abc.com
We can get lot of duplicate lines. You can use command cat in linux to filter:

cat * txt | sort | uniq | grep -a abc.com >> result.txt
 
Back
Top Bottom