Text processing
wc
Counts lines, words, and bytes in files.
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
-l for lines, -w for words, -c for bytes
Export