OS X EI Capitan安装后需要的配置

来源:互联网 发布:qq赚钱软件 编辑:程序博客网 时间:2024/05/22 13:12

命令行输入su,输入密码后提示su: Sorry

安装系统是并没有设置root密码,先设置root密码。然后在su进入即可。

Aarons-MacBook-Pro:~ aaronwu$ sudo passwd rootChanging password for root.New password:Retype new password:Aarons-MacBook-Pro:~ aaronwu$ suPassword:

创建sublime text的软连接

ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /bin/subl

添加google hosts

subl /etc/hosts

具体ip自行搜索。

显示隐藏文件

defaults write com.apple.finder AppleShowAllFiles -bool true

重启Finder apple –> Force Quit –> Finder –> Relaunch

0 0
原创粉丝点击