From f5f7b2bd554617c0a21003cea980f50472a79bbb Mon Sep 17 00:00:00 2001 From: Bonnie I-Man Ng Date: Thu, 16 May 2019 15:50:37 +0800 Subject: [PATCH] Add another example for tree set level directories deep --- README.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 58cd269..2aa3a48 100644 --- a/README.md +++ b/README.md @@ -2778,19 +2778,24 @@ script output.txt # to logout the screen session (stop saving the contents), type exit. ``` -##### list contents of directories in a tree-like format. +##### 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 +# home/ +# └── project # ├── 1 # ├── 2 # ├── 3 # ├── 4 # └── 5 # + +# set level directories deep (e.g. level 1) +tree -L 1 +# home/ +# └── project ``` ##### Set up virtualenv(sandbox) for python