Files
tldr/pages.fr/common/wc.md
2021-04-01 18:54:26 +03:00

21 lines
421 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/wc>.
- 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}}`