UNIQ(1) UNIQ(1) uniq - report or omit repeated lines uniq []... [ []] ( ), ( ). , . . -c, --count -d, --repeated , -D --all-repeated[=] -D, ; ={none(),prepend,separate} -f, --skip-fields=N N --group[=] , ; ={separate(),prepend,append,both} -i, --ignore-case -s, --skip-chars=N N -u, --unique -z, --zero-terminated , -w, --check-chars=N N --help --version / , - . . 'uniq' does not detect repeated lines unless they are adjacent. You may want to sort the input first, or use 'sort -u' without 'uniq'. . . coreutils: Copyright (C) 2025 Free Software Foundation, Inc. 3+: 3 . : . , . comm(1), join(1), sort(1) ,,info '(coreutils) uniq invocation'" ; 3 . . , - TODO <>. GNU coreutils 9.6 2025 UNIQ(1)