Linux 未安装vi如何编辑文件

sed -i "s/搜索内容/替换内容/g" 文件名

猜你喜欢

转载自www.cnblogs.com/lishidefengchen/p/10684686.html