Other solution: A directory: ls | cat -n Recursively: ls -R | cat -n or find | cat -n []s Eriberto Lance Hoffmeyer escreveu:
How can I get a count of the number of files in a directory? directory + subdirectoies? Lance