记录日常运维,分享学习经验<br>Record daily operation and maintenance and share learning experience
阿豪运维笔记

记录日常运维,分享学习经验
Record daily operation and maintenance and share learning experience

码龄9年 | 文章:1022 | 浏览:315.6万
Linux之如何使用Sed命令 代码编程

sed(上)过滤# sed -n '/root/'p ahao.txtp是打印,-n只显示匹配的字符匹配1到5行sed -n '1,5'p test.txt匹配5到后面的几行sed -...

正则介绍_grep上,grep中,grep下 代码编程

正则介绍_grep(上)正则就是一串有规律的字符串掌握好正则对于编写shell脚本有很大帮助各种编程语言中都有正则,原理是一样的本章将要学习grep/egrep、sed、awk (网页三剑客)grep# g...

Linux shell基础知识练习题 代码编程

作业题:1. 设置环境变量 HISTSIZE , 使其能够保存10000条命令历史。修改/etc/profile 这个配置文件,修改HISTSIZE=10000,最后执行source /etc/profile让他完全...

把httpd添加到系统服务里面 教程笔记

吧httpd加到系统开机启动项中,解决重启后自动重启服务apache 作为linux启动就运行服务程序# cp /usr/local/apache2/bin/apachectl /etc/rc.d/init.d/ht...