Linux [Electronic resources]

Janet Valade

نسخه متنی -صفحه : 357/ 327
نمايش فراداده

uniq (remove duplicate lines)

Stores one copy of each line from one file into a new file. The file must be sorted.

Format: uniq

filename1 filename2 Examples: uniq addresses newaddresses

The new file contains only one copy of each line. Duplicate lines are not stored in the new file.