Home > OS >  Consult a shell script to heavy!
Consult a shell script to heavy!

Time:11-17

As shown in figure file data, what can execute a script, make remove the repetition of lines in the file, I mean the file is changeless, after executing a script, the original file is no duplicate data

CodePudding user response:

Have a big help to have a look

CodePudding user response:

The cat file | sort | uniq
Remove the duplicate lines the file object

CodePudding user response:

Uniq to heavy
  • Related