- 우분투에서는 기본설치가 아니므로 설치.
Install
sudo apt install tree
Usage
tree– show folder and file tree current directorytree dir-name– show folder and file tree dir-nametree -a– show all dir and files (hidden dir also)tree -d– show directory onlytree -f– show path prefixtree -o output.txt– save result to output.txt
Reference
- 내용이 더 있는데 아래 참고해서 정리
- Waht is Tree Command in Ubuntu