# 在CentOS上 sed -i 's/^command.*/& --allow-insecure-unlock/' tmp.txt # 在Mac系统上 sed -i '' 's/^command.*$/& --allow-insecure-unlock/' tmp.txt
Linux sed命令
原文:https://www.cnblogs.com/yueyun00/p/11997081.html