uniq command requires a sorted file as input.

Answer: a
Explanation: uniq command is used for locating repeated and non-repeated entries. But the most important requirement for using uniq command is, the file should be sorted. For example,
Code:
$ sort dept.lst |  uniq  -  uniqlist        // output in uniqlist
 

Tìm kiếm

Back
Top