GSNA · Question #159
Which of the following commands is most useful for viewing large files?
The correct answer is B. less. The less command is most useful for viewing large files. The less command displays the output of a file one page at a time. Viewing large files through cat may take more time to scroll pages, so it is better to use the less command to see the content of large files. Answer: A…
Question
Which of the following commands is most useful for viewing large files?
Options
- Acat
- Bless
- Ctouch
- Dcp
How the community answered
(57 responses)- A2% (1)
- B84% (48)
- C5% (3)
- D9% (5)
Explanation
The less command is most useful for viewing large files. The less command displays the output of a file one page at a time. Viewing large files through cat may take more time to scroll pages, so it is better to use the less command to see the content of large files. Answer: A is incorrect. The cat command is also used to view the content of a file, but it is most useful for viewing short files. Answer: D is incorrect. The cp command is used to copy files and directories from one location to Answer: C is incorrect. The touch command is not used to view the content of a file. It is used to create empty files or to update file timestamps.
Topics
Community Discussion
No community discussion yet for this question.