mirror of https://github.com/CrimsonTome/tldr.git
16 lines
213 B
Markdown
16 lines
213 B
Markdown
|
# wc
|
||
|
|
||
|
> Count words, bytes, or lines
|
||
|
|
||
|
- count lines in file
|
||
|
|
||
|
`wc -l {{file}}`
|
||
|
|
||
|
- count bytes in file
|
||
|
|
||
|
`wc -c {{file}}`
|
||
|
|
||
|
- count characters in file (taking multi-byte character sets into account)
|
||
|
|
||
|
`wc -m {{file}}`
|