【发布时间】:2021-06-02 13:42:35
【问题描述】:
nginx.conf中需要改一行
client_max_body_size 1m to client_max_body_size 10m 我用这个命令
sed -i "s/^client_max_body_size 1m;$/client_max_body_size 10m;/g" /etc/nginx/nginx.conf
sed: 1: "nginx.conf": extra characters at the end of n command
收到此消息...我不知道我做错了什么。
【问题讨论】:
标签: sed