![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
unix&linux
book_cdljsj
这个作者很懒,什么都没留下…
展开
-
批量文件字符串替换脚本
一个简单的脚本,模拟UtraEdit/Editplus文本处理器的批量替换功能,可以在unix/linux下对指定目录的文件进行字符串的批量替换shell 脚本#multiReplace.sh#Usage:multiReplace.sh $work_folder <work_folder></work_folder> $replace_from $replace_to&l...2007-05-29 15:58:00 · 242 阅读 · 0 评论 -
检测ftp是否成功
刚才写了一大段的文字竟然提交时说我没权限,内容全丢了,郁闷 现在只贴出关键代码供自己以后参考吧 $FTP_SUCCESS_CODE=226;#File transfer complete. $ftp = " ftp -i -n ${FTP_SERVER} < user ${UID} ${PWD} verbose ...2007-06-04 15:32:00 · 542 阅读 · 0 评论 -
Avoid "Terminal too wide" problem of VI
"Terminal too wide" error was got when I tried to use vi to edit files on SunOS. It is resolved after resetting the terminal columns with command: stty columns 802009-01-05 17:28:50 · 154 阅读 · 0 评论 -
No clear command in Cygwin?
Just use Ctrl+L instead.原创 2012-05-21 17:03:08 · 94 阅读 · 0 评论