Question
a.
pr dept.lst
b.
head -n 5 emp.lst
c.
tail -o +5 emp.lst
d.
tail -3 emp.lst
Posted under UNIX
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.
View solution
Q. The expression cut -c -3 emp.lst will cut columns number _____
View solution
Q. ____ option is used with the cut command for cutting fields.
View solution
Q. What is the default delimiter used by the cut command for cutting fields?
View solution
Q. Which option is used with the cut command for cutting field base on the value of our specified delimiter?
View solution
Q. We have to specify whether we want to cut fields or columns while using cut command.
View solution
Q. The following command will produce an error.
$ cut -d “|” -f 1,4 emp.lst
View solution
Q. Which one of the following commands is incorrect?
View solution
Q. Which command is used for pasting files?
View solution
Q. Whatever we have cut using cut command can be pasted back using paste command but vertically.
View solution
Q. By default, sort command reorders lines in ASCII collating sequence.
View solution
Q. Sort command uses ____ as default field delimiter.
View solution
Q. Which option is used with sort command to specify the field delimiter?
View solution
Q. Which option is used for sorting a file according to primary key?
View solution
Q. The sort order can be reversed using ___ option.
View solution
Q. We can perform sorting on secondary key also using sort command.
View solution
Q. We cannot perform sorting on columns using sort command.
View solution
Q. Which option is used when we’ve to sort files containing only numbers?
View solution
Q. _____ option is used with sort command for removing repeated lines.
View solution
Q. Which option is used by the sort command to redirect the output to a specified file?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond UNIX? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!