sed命令学习

全局替换命令

1
sed 's/172.30.64.1/'$WIN_IP'/g' /etc/systemd/system/docker.service.d/http-proxy.conf

其中$WIN_IP 是变量代表。

Licensed under CC BY-NC-SA 4.0
最后更新于 Jan 06, 2025 05:52 UTC
comments powered by Disqus
Built with Hugo
主题 StackJimmy 设计
Caret Up