wc [Command]



Command wc

Displays the number of bytes, words and lines found in the file.

Syntax

wc [options] [files]

Options

-c displays only the number of bytes.
-w only shows the number of words.
-l displays only the number of rows.

Description

wc command displays the number of bytes, words and lines found in the file. If the input file is not specified, wc reads from standard input.

Leave a Reply

Your email address will not be published. Required fields are marked *