Name

wc — stdin  stdout  - file  -- opt  --help  --version

Synopsis

wc [options] [files]

The wc (word count) program prints a count of bytes, words, and lines in (presumably) a text file.

$ wc myfile
   24      62     428 myfile

This file has 24 lines, 62 whitespace-delimited words, and 428 bytes.

Useful options

-l

Print the line count only.

-w

Print the word count only.

-c

Print the byte count only.

-L

Locate the longest line in each file and print its length in bytes.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.58.252.8