Install tree for mac (Linux equivalent) Very simply, if ls isn't giving you everything you want, try tree brew install tree sudo port install tree then type tree to see the directory: tree # or to limit the branching to only 2 levels down: tree -L 2