tree command is used to show the directory/sub-directory structure recursively, including the files contained in the directories.
tree command may not come pre-installed with linux. It that case, it can be installed using the command
sudo apt-get install tree
After installation, you can list the hierarchy of the directory by running the