GSNA · Question #266
Which of the following commands can be used to format text files?
The correct answer is D. pr. The pr command is used to format text files according to the specified options. This command is usually used to paginate or columnate files for printing. Answer: B is incorrect. The ps command reports the status of processes that are currently running on a Linux computer…
Question
Which of the following commands can be used to format text files?
Options
- Awc
- Bps
- Ctail
- Dpr
How the community answered
(18 responses)- A6% (1)
- B6% (1)
- C11% (2)
- D78% (14)
Explanation
The pr command is used to format text files according to the specified options. This command is usually used to paginate or columnate files for printing. Answer: B is incorrect. The ps command reports the status of processes that are currently running on a Linux computer. Answer: A is incorrect. The wc command is used to count the number of bytes, words, and lines in a given file or in the list of files. Answer: C is incorrect. The tail command is used to display the last few lines of a text file or piped
Topics
Community Discussion
No community discussion yet for this question.