Which command is used to display the top of the file?
Options
A. cat
B. head
C. more
D. grep
E. None of the above
Correct Answer
head
Explanation
The head command displays the first few lines at the top of a file. It can be useful when you want a quick peek at a large file, as an alternative to opening the file.
Unix problems
Search Results
1. Which of the following keys is used to replace a single character with new text?