Linux 常用命令学习

sed 大法:

cat file | sed 's/string/replace_str/' file

 

按大小分割文件

split -b 100m filename

 

设置vi不自动转换tab:

set noexpandtab

posted on 2014-09-28 11:58  a_badegg  阅读(76)  评论(0编辑  收藏  举报

导航