Which option is used with the cat command for displaying file with line numbers?

Which option is used with the cat command for displaying file with line numbers?
A. -n
B. -v
C. -a
D. -x
 
Answer: a
Explanation: cat command supports -n option which is used for displaying file contents along with line number while -v is used for displaying nonprintable ASCII characters in the file.
 

Tìm kiếm

Back
Top