摘要: 参考网址:http://luolei.org/dotfiles-tutorial/ http://www.ruanyifeng.com/blog/2014/06/git_remote.html http://www.cnblogs.com/hzijone/p/4844372.html https:/ 阅读全文
posted @ 2015-09-28 16:37 cogitoergosum 阅读(281) 评论(0) 推荐(0)
摘要: 最近需要用到shell脚本实现关机保护作用,总结下语法 要点: 1、linux下编写的shell脚本不能在window下编写,否则会出现^M的错误,用window编写保存,在linux用vim打开,每行的最后一个会出现^M 原因:对回车键判定不一致,window是\r\n,unix是\r, 用ult 阅读全文
posted @ 2015-09-28 14:54 cogitoergosum 阅读(146) 评论(0) 推荐(0)