mirror of
https://github.com/onceupon/Bash-Oneliner
synced 2024-11-26 14:40:16 +00:00
add other
tree
This commit is contained in:
parent
723ff2314a
commit
981208c791
1 changed files with 14 additions and 1 deletions
15
README.md
15
README.md
|
@ -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)]
|
||||||
|
|
Loading…
Reference in a new issue