uniq
uniq is a Linux command in the Text Processing category, rated beginner difficulty. Reports or omits repeated lines. Usually used with sort. The syntax is uniq [options] [input] [output]. Key options and parameters: input, output — source file, target file. It returns deduplicated output. A close relative is grep, which searches for patterns in files using regular expressions. A close relative is sed, which stream editor for filtering and transforming text. A close relative is awk, which powerful text processing language. Ideal for column-based data and reports. More about this category: Linux text processing commands — grep, sed, awk, sort, cut, tr, and more. Search, filter, transform, and format text content. Related Text Processing commands: grep, sed, awk, sort, wc, cut, tr, tee. This page is part of the free Linux Reference documentation covering 304+ commands, each with syntax, options, practical examples, and a difficulty rating.