which command is used to remove duplicate lines from the file code example Example: removing duplicate input from a file in the command line sort -u .txt