adplus-dvertising
frame-decoration

Question

Which command is used for displaying the beginning of a file?

a.

pr

b.

head

c.

begin

d.

lp

Posted under UNIX

Answer: (b).head

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which command is used for displaying the beginning of a file?

Similar Questions

Discover Related MCQs

Q. By default, how many lines are displayed using the head command?

Q. Which option is used with the head command to specify line count to display?

Q. ___ command is used for displaying the end of the file.

Q. We can also use -n option with tail command.

Q. Which symbol is used with the tail command to print the file from the selected line?

Q. Which of the following command is incorrect?

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?