add other

tree
This commit is contained in:
onceupon 2018-01-17 13:36:56 +08:00 committed by GitHub
parent 723ff2314a
commit 981208c791
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1678,7 +1678,20 @@ script output.txt
#start using terminal #start using terminal
#to logout the screen session (stop saving the contents), type exit. #to logout the screen session (stop saving the contents), type exit.
``` ```
##### list contents of directories in a tree-like format.
```bash
tree
#go to the directory you want to list, and type tree (sudo apt-get install tree)
#output:
#one/
#└── two
# ├── 1
# ├── 2
# ├── 3
# ├── 4
# └── 5
#
```
## System ## System
[[back to top](#handy-bash-oneliner-commands-for-tsv-file-editing)] [[back to top](#handy-bash-oneliner-commands-for-tsv-file-editing)]