tree
show the directory structure
tree -dfi --noreport rootDirNext, let’s walk through the options we passed to the tree command and understand what they mean:
-d: We ask the tree command to print directories only
-f: The tree command will print the full path for us
-i: Usually, tree outputs in a tree format. In other words, lines are well indented in the output. However, this option will prevent tree from printing indentation lines
–noreport: This flag suppresses the summary report at the end of the output, such as “x directories, y files“
Last updated