>_ linuxcommand.dev
Text Processing

wc

Prints line, word and byte counts.

Ubuntu CentOS Debian Arch SUSE Slackware Alpine Fedora
Verified: 2025-09-09
Syntax
$wc [OPTIONEN] [DATEI...]
Examples
$wc datei.txt
$wc -l datei.txt
Typical use cases
?
Standard usage
wc --help
Note Useful for file statistics.
Export