unix command to remove duplicate appesrances of words code example Example: removing duplicate input from a file in the command line sort -u .txt