입력 또는 파일에서 고유한 줄을 출력합니다. 인접하지 않은 반복 줄을 감지하지 않으므로 먼저 정렬해야 합니다. 더 많은 정보: https://www.gnu.org/software/coreutils/manual/html_node/uniq-invocation.html.
sort {{경로/대상/파일}} | uniq
sort {{경로/대상/파일}} | uniq {{[-u|--unique]}}
sort {{경로/대상/파일}} | uniq {{[-d|--repeated]}}
sort {{경로/대상/파일}} | uniq {{[-c|--count]}}
sort {{경로/대상/파일}} | uniq {{[-c|--count]}} | sort {{[-nr|--numeric-sort --reverse]}}