PrepAway - Latest Free Exam Questions & Answers

Which command will print line numbers before each line in a file?

Which command will print line numbers before each line in a file?

PrepAway - Latest Free Exam Questions & Answers

A.
cat-n

B.
numline

C.
nl

D.
In

Explanation:
Syntax: cat [option] filename.
Options:
-n, -b Display the line number before each line
-A Show all characters including control characters.
-s Squeeze multiple adjacent blank lines into one line

5 Comments on “Which command will print line numbers before each line in a file?


Leave a Reply