What does the -l option do in the 'wc' command?

095

The -l option in the wc (word count) command is used to count the number of lines in a specified file.

For example, you can use the command:

wc -l filename.txt

This will output the total number of lines in filename.txt.

0 Comments

no data
Be the first to share your comment!