Quick and easy way to check directory/folder structure on ubuntu terminal is using treecommand. This command allows us from the terminal to list all contents (files and folders) of a folder in the form of a tree navigation. This will be useful for those who use frequently the terminal and want to find what they need quickly and easily.
To install the tree command line utility on Ubuntu, run this command from the terminal:
$ sudo apt-get install tree
Then run this command to list files and folders of the current folder: