mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-02 15:38:28 +01:00
17 lines
214 B
Markdown
17 lines
214 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}}`
|
||
|
|