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

This site uses Akismet to reduce spam. Learn how your comment data is processed.