Skip to content
masterclass Buddy

Linux & Shell · Command

wc

wc prints newline, word, character, byte, and maximum-line-width counts for files or standard input. You choose the counts with options.

Last updated

Syntax

wc [OPTION]... [FILE]...
wc [OPTION]... --files0-from=F

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • ls
  • --files0-from
  • --total
  • --help
  • --version

Source: wc(1) - Linux manual page. Checked 2026-11-03.