uniq -u file.txt

Category: Text Processing

uniq -u file.txt

Print only unique (non-repeated) lines

Prints only lines that appear exactly once — lines without any duplicates.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.