摘要: 经过实验发现,命令sed 's/pattern/replacement/' file中,pattern使用的并不是完全的正则表达式,而如果想使用正则表达式,需要使用sed命令的 -r 选项: sed -r 's/RegexPattern/replacement/' file 分析: 第三个命令ech 阅读全文
posted @ 2016-05-17 21:23 morein2008 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 引自:http://www.fengdingbo.com/shell-stop-procedure.html 阅读全文
posted @ 2016-05-17 20:12 morein2008 阅读(459) 评论(0) 推荐(0) 编辑
摘要: 1.去Oracle官网下载最新的jdk,解压,配置环境变量(直接改 /etc/profile) 参考:http://www.cnblogs.com/aaronhoo/p/5293118.html2.再就是将我们装好的SUN JDK装到系统里,sudo update-alternatives --in 阅读全文
posted @ 2016-05-17 15:57 morein2008 阅读(1719) 评论(0) 推荐(0) 编辑
摘要: centos安装chrome:去官网下载chrome安装包(xxx.rpm),带软件安装工具的系统双击该xxx.rpm就能自动安装,或者sudo rpm -i xxx.rpm安装。 centos卸载自带firefox,然后安装最新版本: 1.卸载自带firefoxyum -y remove fire 阅读全文
posted @ 2016-05-17 15:55 morein2008 阅读(874) 评论(0) 推荐(0) 编辑