I want to echo some unique string to a file. Sample code like bellow:
{
echo " LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined"
echo " LogFormat "%h %l %u %t \"%r\" %>s %b" common"
} >> file.conf
When i run it, file.conf become seperate in to 2 file. How i can echo it with a correct way?
Thank You