An example using the "ls" command
Updated: Oct6,2019

A single call to the unix "ls" command could make a pretty exhaustive file that show what we want to know:

  1. How big is a directory?
  2. How many files are there inside the directory?
  3. How many subdirectories are there inside the directory?
% ls -a -b -R A?  


Sometimes we can use this list, but often it is so large they we must process the output further to get a more summary understanding of the directory tree(s) involved.




Back to calling page