Count Number of Lines, Words, Characters in File using ‘wc’ Command
Count Number of Lines, Words, Characters in File using ‘wc’ Command
Count Number of Lines, Words, Characters in File using ‘wc’ Command
The wc (word count) command in Unix/Linux operating systems is used to find out number of newline count, word count, byte and characters count in a files specified by the file arguments. The syntax of wc command as shown below.
# wc [options] filenames
The following are the options and usage provided by the command.
wc -l: Prints…
View On WordPress











