Shell 向文件中添加一行
参考:http://www.111cn.net/sys/linux/77821.htm
在explicit之后添加一行
sed -i '/explicit/a max_allowed_packet = 32M' /etc/mysql/my.cnf
Shell 向文件中添加一行
参考:http://www.111cn.net/sys/linux/77821.htm
在explicit之后添加一行
sed -i '/explicit/a max_allowed_packet = 32M' /etc/mysql/my.cnf
上一篇:bash中变量自增
下一篇:Javascript电话号码校验
课程目标 1.熟悉Linux命令 2.可以使用shell脚本自动化部署测试环境 shell介绍  
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M