adplus-dvertising
frame-decoration

Question

Which of the following command is incorrect?

a.

pr dept.lst

b.

head -n 5 emp.lst

c.

tail -o +5 emp.lst

d.

tail -3 emp.lst

Posted under UNIX

Answer: (c).tail -o +5 emp.lst

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which of the following command is incorrect?

Similar Questions

Discover Related MCQs

Q. To extract specific columns from a file, ____ command is used.

Q. The expression cut -c -3 emp.lst will cut columns number _____

Q. ____ option is used with the cut command for cutting fields.

Q. What is the default delimiter used by the cut command for cutting fields?

Q. Which option is used with the cut command for cutting field base on the value of our specified delimiter?

Q. We have to specify whether we want to cut fields or columns while using cut command.

Q. The following command will produce an error.

$ cut -d “|” -f 1,4 emp.lst

Q. Which one of the following commands is incorrect?

Q. Which command is used for pasting files?

Q. Whatever we have cut using cut command can be pasted back using paste command but vertically.

Q. By default, sort command reorders lines in ASCII collating sequence.

Q. Sort command uses ____ as default field delimiter.

Q. Which option is used with sort command to specify the field delimiter?

Q. Which option is used for sorting a file according to primary key?

Q. The sort order can be reversed using ___ option.

Q. We can perform sorting on secondary key also using sort command.

Q. We cannot perform sorting on columns using sort command.

Q. Which option is used when we’ve to sort files containing only numbers?

Q. _____ option is used with sort command for removing repeated lines.

Q. Which option is used by the sort command to redirect the output to a specified file?