Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mac使用tree(2017-04-25) #21

Open
aermin opened this issue Feb 13, 2018 · 0 comments
Open

mac使用tree(2017-04-25) #21

aermin opened this issue Feb 13, 2018 · 0 comments
Labels

Comments

@aermin
Copy link
Owner

aermin commented Feb 13, 2018

一、brew安装

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

然后一直按return键即可

二、brew使用

brew安装套件:

$ brew install tree

常用命令

$ tree -a //显示所有文件和目录。

$ tree -d //显示目录名称而非内容

$ tree -L 2 //这个命令是比较实用的,后面的数字2代表几层

@aermin aermin changed the title mac使用tree mac使用tree(2017-04-25) Feb 13, 2018
@aermin aermin added the 工具 label Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant