Install tree command on Linux / Unix / Ubuntu
If you are using Debian/Ubuntu, Mint Linux
Type following command in your terminal:
$ sudo apt-get install tree -y
Tree Command Usages
1. By default, if no argument is provided to tree command, it prints tree of current directory.
usr_name:Deep-learning-for-sentiment-analysis admin$ tree
2. To see only directories:
$ tree -d
3. Limit the level or depth of recursion:
$ tree -L 2
4. Show all files including hidden dot files:
$ tree -a -L 2