Give a command for displaying those lines in a file called ‘employees’ that are not repeated. What is the command line for displaying repeated lines only?

What will be an ideal response?


The following command can be used to perform the first task.
sort employees | uniq -u
The following command can be used to perform the second task.
sort employees | uniq -d

Computer Science & Information Technology

You might also like to view...

When a navigation toolbar is used with a table from a database, the first record of the table has index .When a navigation toolbar is used with a table from a database, the first record of the table has index .

(A) 0 (B) 1 (C) First (D) -1

Computer Science & Information Technology

A Round Cap creates a(n) ____ at each end.

A. oval B. anchor point C. dash D. gap

Computer Science & Information Technology

Computers are often compared in terms of the number of ____ they can crank out.

a. factors b. algorithms c. elements d. flops

Computer Science & Information Technology

The opacity setting of a drop shadow is measured on a scale of _____.

A. 0-360 degrees B. 0-100% C. 0-30,000 pixels D. 0-250 pixels

Computer Science & Information Technology