常用终端操作记录

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替代系统终端编辑器

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

友情链接更多精彩内容