DocsLinuxCommandstreetree Installation sudo apt install -y tree Commands tree Select directory tree foo/bar List direcory tree -d Set max depth tree -L 2 Ignore files tree -I foo PrevioustldrNextXargs