Graphics based operating systems provide option for you to see the complete directory structure graphically. But, in console based Linux/Unix operating systems this is not possible (by default). At most you can go inside each directory and do ls or if you are a scripting geek you can create one to do the same for you.
Recently, I came across directory listing program, tree which makes this job possible in Unix/Linux from the terminal.
CentoOs/RHEL: $sudo yum install tree -y
Use tree and the directory name. That's it!
| `-- default.rb
| |-- spec_helper.rb
| `-- unit
| `-- recipes
| `-- default_spec.rb
7 directories, 8 files