262
rated 0 times
[
262]
[
0]
/ answers: 1 / hits: 276864
/ 2 Years ago, mon, february 7, 2022, 9:54:26
What is the command that can be used to draw the directory tree inside the terminal emulator?
More From » command-line
What is the command that can be used to draw the directory tree inside the terminal emulator?
You can use tree
to print the directory tree in terminal. Install tree
from terminal,
sudo apt-get install tree
To see the directory tree, use
tree /path/to/folder
Or navigate to a directory and just use
tree
It has some advanced options too. You can see owner's username
, groupname
, date of last modification of a file/folder and so on using tree
. It supports directory colors of ls
so you can see colourized outputs.
See man tree
for more.