18 lines
444 B
Markdown
18 lines
444 B
Markdown
![]() |
---
|
||
|
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](https://en.wikipedia.org/wiki/Wc_(Unix))
|