Red Hat Linux 9 Professional Secrets [Electronic resources]

Naba Barkakati

نسخه متنی -صفحه : 341/ 276
نمايش فراداده

wc

Purpose

Display the byte, word, and line count of a file.

Syntax

wc [options] [

files

]

Options

-c displays only the byte count.

-w displays only the word count.

-l displays only the line count.

Description

The

wc command displays the byte, word, and line count of a file. If you do not specify an input file,

wc reads from standard input.