show all file command line ubuntu code example
Example: how to count all files on linux
for i in */ .*/ ; do
echo -n $i": " ;
(find "$i" -type f | wc -l) ;
done
for i in */ .*/ ; do
echo -n $i": " ;
(find "$i" -type f | wc -l) ;
done