Linux Server and Workstation Configuration How To

  • Decrease font size
  • Default font size
  • Increase font size
  • default color
  • red color
  • green color
wc PDF Print E-mail
Tuesday, 16 March 2010 13:42
AddThis Social Bookmark Button

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.

 

Add comment


Security code
Refresh

Useful Links

Follow us on ...

  • Digg: hgevs
  • Facebook Page: 180986722511
  • Linked In Group: 2571120
  • Ning: linuxconfignet
  • Twitter: linuxconfignet

Friends

Thanks David Ayvazyan for provided useful information and discussions.
www.gnu.am (Armenian Translation)