Linux CLI - Viewing and Editing Files
Given a file
data.txt with contents:Line1 Line2 Line3What will be the output of
cat -n data.txt?data.txt with contents:Line1 Line2 Line3What will be the output of
cat -n data.txt?-n option of cat-n option numbers all output lines.cat -n adds line numbers [OK]cat -n filename to number lines [OK]15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions