Create wc basch command (#33424)
This commit is contained in:
committed by
Randell Dawson
parent
2494f0f2e5
commit
238ffea845
17
guide/english/bash/bash-wc/index.md
Normal file
17
guide/english/bash/bash-wc/index.md
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
---
|
||||||
|
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))
|
Reference in New Issue
Block a user