xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

Linux tree command All In One

Linux tree command All In One

# all
$ tree

# folder only
$ tree -d

# src folder
$ tree src

# ignore folder
$ tree -I "node_modules*"


D:\000-testing\light-ios-app\h5_app>bash
xgqfrms@NB:/mnt/d/000-testing/light-ios-app/h5_app$ tree

# 
├── app.js
├── app.less
├── css
│   ├── reset.css
│   └── style.less
├── images
│   ├── about-active.png
│   ├── about.png
│   ├── contact-active.png
│   ├── contact.png
│   ├── home-active.png
│   ├── home.png
│   ├── more.png
│   └── scan.png
├── index.html
├── lib
│   ├── package.json
│   └── px2rem.js
├── project.json
├── ui
│   └── ui.vue
└── view
    ├── index
    │   ├── about.vue
    │   ├── contact.vue
    │   └── home.vue
    └── index.vue

# 6 directories, 21 files
xgqfrms@NB:/mnt/d/000-testing/light-ios-app/h5_app$

tree level

$ tree -L 3 -I "node_modules|bower_components"

https://www.cnblogs.com/xgqfrms/p/10729411.html

demos

(🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明这是一篇剽窃的文章,请访问 https://www.cnblogs.com/xgqfrms/ 查看原创文章!

refs

https://www.computerhope.com/unix/tree.htm

https://www.computerhope.com/unix/tree.htm#examples

https://linux.die.net/man/1/tree

https://www.cyberciti.biz/faq/linux-show-directory-structure-command-line/

https://www.ostechnix.com/view-directory-tree-structure-linux/

http://mama.indstate.edu/users/ice/tree/



©xgqfrms 2012-2021

www.cnblogs.com/xgqfrms 发布文章使用:只允许注册用户才可以访问!

原创文章,版权所有©️xgqfrms, 禁止转载 🈲️,侵权必究⚠️!


posted @ 2018-08-17 10:30  xgqfrms  阅读(139)  评论(2编辑  收藏  举报