I am happy because I knew Linux I uncovered all the possible command in the terminal mode. Small program but it can be deadly.
I am not going to discuss about how deadly it is but just want to share how to list directory in terminal mode.
To list a file we simply using :
Everything will be displayed on the screen. But if we want to display the directory instead of files, this is how
#ls -ld */
#tree -dL 1
The command tree without any option will display all the directory structure available in the current position to below.