Updated: 01 November 2023
List contents of directories in a tree-like format.
sudo apt install tree
Ignore .git folder but show other dot folders/files, starting from current directory
tree -I .git -a .
Also show user, group and file permission
tree -ugp dir
Create tree 2 levels deep only
tree -L 2 .