1.将脚本从终端拷贝到本地虚拟机中的测试环境 scp /Users/---/Downloads/yeepayQAswitch.sh root@10.0.1.61:/root/yeepayQAswitch.sh
scp -r root@172.16.0.229:/root/shell-file/本地数据库表结构同步脚本 ~/Desktop/ (-r拷贝文件夹)
2.git配置用户名密码,以免每次git操作都要输入密码
vim /home/zhangl/ .git-credentials
#输入内容
https://{username}:{password}@github.com
#保存退出后执行下面命令
git config --global credential.helperr store
获取当前xcode版本对应的uuid,用于xcode升级时插件更新
find /Users/---/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth3| xargs -I{} defaults write {} DVTPlugInCompatibilityUUIDs -array-add `defaultsread/Applications/Xcode.app/Contents/Info.plist DVTPlugInCompatibilityUUID`
http://blog.csdn.net/chenyufeng1991/article/details/50492626iterm2替代系统终端编辑器