The number of files in a subdirectory
Solved
CYG
-
1234 -
1234 -
Hello,
I have a subdirectory that contains x files, I need a command that can count the number of files;
can someone help me
thank you in advance
CYG
I have a subdirectory that contains x files, I need a command that can count the number of files;
can someone help me
thank you in advance
CYG
Configuration: Windows 2003 Firefox 2.0.0.9
CYG
ls | wc -l aussi, mais je me demande si la commande wc permet de compter le nombre de lignes et de mots ainsi que les caractères, n'est-ce pas ? Comment cette commande peut-elle compter le nombre de fichiers d'un répertoire ?
```more fichierX
A. ls | wc -l *
B. echo $PWD > wc
C. ls | wc -w
D. ls -l | wc -w
E. cat $PWD
F. cat $PWD | wc -c