wc (count characters, words, and lines)

team bbl


Displays the number of characters, words, and lines in a file.

 Format:    wc filelist Examples:  wc file1 file2 

Opt

What It Does

Examples

-c

Show byte count only

wc -c report.txt

-l

Show lines only

wc -l report.txt

-L

Show length of longest line

wc -L report3

-m

Show character count only

wc -m letter

-w

Show word count only

wc -w myfile


    team bbl



    Spring Into Linux
    Spring Into Linux
    ISBN: 0131853546
    EAN: 2147483647
    Year: 2005
    Pages: 362
    Authors: Janet Valade

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net