我需要在配置文件的末尾添加以下行:
include "/configs/projectname.conf"
到一个名为的文件 lighttpd.conf
lighttpd.conf
我正在考虑使用sed这个,但我无法弄清楚如何.
sed
如果该行尚不存在,我将如何仅插入它?
linux terminal sed
linux ×1
sed ×1
terminal ×1