Files
tldr/pages.fr/common/wc.md
2021-03-30 10:48:08 -03:00

21 lines
454 B
Markdown
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# wc
> Compte les lignes, les mots ou les octets.
> Plus d'informations : <https://www.gnu.org/software/coreutils/manual/html_node/wc-invocation.html>.
- Compte les lignes d'un fichier :
`wc -l {{file}}`
- Compte les mots d'un fichier :
`wc -w {{file}}`
- Compte les caractères (octets) d'un fichier :
`wc -c {{file}}`
- Compte les caractères d'un fichier (en prenant en compte l'ensemble des caractères multi-octets) :
`wc -m {{file}}`