Files
freeCodeCamp/guide/english/bash/bash-wc/index.md
Saintil Dit Laguerre Donfred 238ffea845 Create wc basch command (#33424)
2019-03-23 13:13:46 -07:00

444 B

title
title
Bash wc

Bash command: wc

wc is used to display newline, byte, word counts of a file.

Usage

wc [OPTION]... [FILE]...

Here are some helpful options for its use :

  • -c to print the bytes counts.
  • -w to print the word counts.
  • -m to print the character counts.

More Information

  • run man wc to get a list of all options for this command
  • Wikipedia