Co robi WC użycie. Konsola files are given, read standard input. See other examples under ls and.

Czy przydatne?

Polecenie wc

Wykonanie, użycie: Print byte, word, and line counts for each file. Print a total line for multiple files. If no files are given, read standard input. See other examples under ls and sort

Opcje wykonania wc w konsoli

-c, --bytes

Print byte count only.

-l, --lines

Print line count only.

-L, --max-line-length

Print length of longest line.

-m, --chars

Print character count only.

-w, --words

Print word count only.

--help

Print help message and then exit.

--version

Print the version number and then exit.

Przykłady wc działanie w Słownik polecenie W