Instale o pacote tree
:
sudo apt-get install tree
Comando:
$ tree -l
A opção "l":
-l Follows symbolic links if they point to directories, as if they
were directories. Symbolic links that will result in recursion
are avoided when detected.
Saída:
.
├── 1
│ ├── 1.png
│ └── Untitled Document
├── 10271474_10154132320890137_6530350599362308925_n.jpg
└── f
├── a.html
├── b.html
└── d.css
2 directories, 6 files
Eu tenho dois diretórios:
1 and f and a jpg file in ~/Desktop and list file in 1 and f