08 2013 档案

摘要:一、yum配置文件位置 /etc/yum.conf /etc/yum.repos.d/*.repo 二、yum常用命令 install pkgs reinstall pkgs update pkgs update-to check-update erase pkgs list installed/u 阅读全文
posted @ 2013-08-23 22:17 范辉 阅读(192) 评论(0) 推荐(0)
摘要:一、sed查漏补缺 1、sed x,+y,从第x行的开始,向下连续y行(包含x行在内是y+1行!) 2、sed 1~2,从第1行开始,步进为2行,此例中显示奇数行 3、sed -n '/root/!p',显示不包含root的行(较少使用) 4、sed -i.bak '',原地修改文件之前进行备份,类 阅读全文
posted @ 2013-08-08 19:33 范辉 阅读(537) 评论(0) 推荐(0)
摘要:Lacks of Knowledge 1: Linux has large amount of COMMANDS,but many of them have similar funtions,it's annoying! So,how to get the highest efficiency in 阅读全文
posted @ 2013-08-02 20:47 范辉 阅读(191) 评论(0) 推荐(0)