Comments on Linux wc Command Explained for Beginners (6 Examples)

While working on the command line, sometimes you may want to access the number of words, byte counts, or even newlines in a file. If you are looking for a tool to do this, you'll be glad to know that in Linux, there exists a command line utility - dubbed wc.

1 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Fred

The difference between the -c and -m counts can be demontrated by adding a two-byte UTF-8 character to the third line:

How are you, fräulein?