tree

tree - list contents of directories in a tree-like format.


Display the content of a directory in a tree-like format:

tree

Display all the content of a directory, including hidden files:

tree -a

Display only directories:

tree -d

Display complete path prefix for files:

tree -f

Display specific depth of directory tree:

tree -d -L 2

Display the content of a directory excluding some words:

tree -d -I *Videos