Shell常用脚本
文章平均质量分 61
jim123
这个作者很懒,什么都没留下…
展开
-
Linux 补丁(patch)的制作和使用
项目中,经常要做代码的差分。 详细可以参考: 【patch补丁制作和使用】原创 2013-01-12 21:11:05 · 599 阅读 · 0 评论 -
linux 挂载 windows共享目录
备忘: eg. mount -t cifs -o username=myname,password=mypasswd,nounix,noserverino //192.168.1.51/share_dir /mnt原创 2013-01-29 16:36:20 · 404 阅读 · 0 评论 -
有用的脚本(持续更新中.......)
1.indent 格式化代码 ### For source code format if [ $# = 0 ];then echo "Need an arg(file name)!!" else indent -nut -npro -nip -nlp -npsl -i4 -ts4 -sob -l88 -ss -bl -bli 0 $1 fi 2.去掉^M 当DOS原创 2013-02-01 14:56:19 · 889 阅读 · 0 评论 -
unix expect自动输入脚本
shell脚本处理事件时,有时要输入密码,原创 2014-11-10 14:55:08 · 825 阅读 · 0 评论