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.
In

B.
nl

C.
cat-n

D.
numline

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

One Comment on “Which command will print line numbers before each line in a file?


Leave a Reply