adplus-dvertising
frame-decoration

Question

Which option is used with uniq command for selecting non-repeated lines?

a.

-i

b.

-c

c.

-u

d.

-a

Posted under UNIX

Answer: (c).-u

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which option is used with uniq command for selecting non-repeated lines?

Similar Questions

Discover Related MCQs

Q. Which one of the following command is used for searching for a pattern in one or more file(s)?

Q. Which one of the following is the correct syntax for grep command?

Q. Which one of the following command will be used for searching “director” in emp.lst?

Q. When the pattern is not found in a file, grep command silently returns the prompt.

Q. grep command can be used for searching a pattern in more than one file.

Q. Which of the following is not a subset of BRE (basic regular expression) character subset?

Q. Which of the following commands is known as stream editor?

Q. What is the correct syntax for using sed?

Q. Which one of the following command will be used for quitting after selecting 3 lines from file emp.lst?

Q. Which of the following command is used with sed for outputting as well as printing the selected lines?

Q. To suppress the behaviour of ‘p’ command, we use ____ option.

Q. The command $ sed -n ‘$p’ emp.lst will display the last line.

Q. Consider the following commands.

$ sed -n ‘1,2p’ emp.lst
$ sed -n ‘3,$!p’ emp.lst

The output of both commands will be same.

Q. Which option is used with sed for using multiple instructions?

Q. ____ option is used for taking instructions from a file.

Q. sed can also perform the substitution.

Q. Which one of the following is the correct syntax for performing substitution using sed?

Q. Which one of the following command is used for replacing | with : globally?

Q. To replace the string ‘director’ in the first five lines of file emp.lst with ‘manager’ we can use _____

Q. Which of the following characters are used with sed as anchoring characters?