Recently in 系统管理 Category
虽然用Putty已经很久了,但是看到这么一篇详细的教程,还是忍不住转过来。

PuTTY 中文教程

作者:柴锋   2006年11月
Web:http://www.chaifeng.com
email: putty-tutorial [0x40] chaifeng [0x2E] com
Links:
http://docs.google.com/View?docid=ajbgz6fp3pjh_2dwwwwt
104 Comments
TAG
从源目录src中复制目录结构到utf8目录:
find src -type d -exec mkdir -p utf8/{} \;

将源目录中以html为扩展名的文件从GB2312编码转换为UTF-8编码,输出路径为utf8目录下的相应目录
find src -name "*.html" -exec iconv -f GBK -t UTF-8 {} -o utf8/{} \;

在源目录src中查找包含oldstring的文件,并将文件中的oldstring替换为newstring
sed -i "s/oldstring /newstring /g" `grep oldstring -rl src`
27 Comments
TAG
最新图片
  • realistic-css3-buttons.gif
  • 20110420224155706.png
  • 20110420223729064.png
  • 20110420223523394.png
  • 20110420223056249.png
  • nice-css3-buttons.gif
  • 20110420222416083.png
  • 20110420222001003.png
  • 20110420221520749.png
  • 20110420220814359.png
  • github-style-css3-buttons.gif
  • 20110420215722032.png
网站统计

Copyright © 2006~2010 肆无忌惮. All rights reserved. 关于本站 | 版权声明 | 免责条款 | 相关法规 | 网站统计

Powered by MTOS. 所有的文本内容在GNU自由文档许可证下发布