Name
wc — stdin stdout - datei --
opt --
help --
version
Synopsis
wc [optionen
] [dateien
]
Das Programm wc
- (word count) gibt die Anzahl der Bytes, Wörter und Zeilen in (hoffentlich) einer Textdatei aus.
$ wc meinedatei 24 62 428 meinedatei
Diese Datei enthält 24 Zeilen, 62 durch Whitespace getrennte Wörter und 428 Bytes.
Nützliche Optionen
|
Gibt nur die Zeilenanzahl aus. |
|
Gibt nur die Wörteranzahl aus. |
|
Gibt nur die Anzahl der Bytes (Zeichen) aus. |
|
Sucht in jeder Datei die längste Zeile und gibt ihre Länge in Bytes aus. |
Get Linux kurz & gut, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.