Sed使用总结
来源:互联网 发布:用python编写数据库 编辑:程序博客网 时间:2024/06/05 04:59
1.把 10.104.5.71替换成10.104.5.98,
<!-- redis配置 type 1表示游戏库,2表示全局库,3表示角色库 5msg--> <cache> <entry type="1" ip="127.0.0.1" port="6379" index="0"/> <entry type="2" ip="10.104.5.98" port="6379" index="0"/> <entry type="5" ip="10.104.5.98" port="6380" index="0"/> <entry type="3" ip="10.104.5.71" port="6379" index="0"/> <entry type="3" ip="10.104.5.71" port="6380" index="0"/> <entry type="3" ip="10.104.5.71" port="6381" index="0"/> <entry type="3" ip="10.104.5.71" port="6382" index="0"/> <entry type="3" ip="10.104.5.71" port="6383" index="0"/> <entry type="3" ip="10.104.5.71" port="6384" index="0"/> <entry type="3" ip="10.104.5.71" port="6385" index="0"/> <entry type="3" ip="10.104.5.71" port="6386" index="0"/> <entry type="3" ip="10.104.5.71" port="6387" index="0"/> <entry type="3" ip="10.104.5.71" port="6388" index="0"/> <entry type="3" ip="10.104.5.71" port="6389" index="0"/> <entry type="3" ip="10.104.5.71" port="6390" index="0"/> <entry type="3" ip="10.104.5.71" port="6391" index="0"/> <entry type="3" ip="10.104.5.71" port="6392" index="0"/> <entry type="3" ip="10.104.5.71" port="6393" index="0"/> <entry type="3" ip="10.104.5.71" port="6394" index="0"/> </cache>
sed -i 's/10.104.5.71/10.104.5.98/g' game-config.xml
阅读全文
0 0
- sed 命令 使用 总结
- sed命令使用总结
- Sed使用总结
- sed 使用失败总结
- linux sed命令使用总结
- sed在日常工作中的使用总结
- sed 总结
- sed 总结
- sed总结
- sed总结
- sed总结
- sed使用
- Sed使用
- Sed使用
- SED使用
- sed使用
- sed 使用
- sed使用
- HttpClient总结一之基本使用
- 关于studio安装apk问题
- aqtest 002
- 第4章 Maven插件读取DockerFile文件构造镜像
- Java 工程师成神之路
- Sed使用总结
- Android框架攻击之Fragment注入,isValidFragment
- Windows下安装python出现2503 2502问题详解
- SpringBoot validator国际化随笔
- Windows环境下部署TestLink注意事项
- 腾讯云一元服务器搭建个人网站详细教程
- Materialise.Magics.V21.1最新软件,好用
- [bzoj1415][Noi2005]聪聪和可可 期望DP+记忆化搜索 & bzoj100题
- solr5.5.4扩展ansj_lucene5