Hello
I'm wondering howto make such thing:
i would like to add specific string into some configuration files.
but not in the end of file (it's obviously easy) but somewhere in the
middle
for example
in my.cnf after line [mysqld] I'd like to add:
key_buffer = 16M
or in /etc/xinetd.d/echo after lines:
service echo
{
disable = yes
I'd like to add:
wait = yes
of course after my string there has to be rest of file...
any ideas?
regards
jahooo
I'm wondering howto make such thing:
i would like to add specific string into some configuration files.
but not in the end of file (it's obviously easy) but somewhere in the
middle
for example
in my.cnf after line [mysqld] I'd like to add:
key_buffer = 16M
or in /etc/xinetd.d/echo after lines:
service echo
{
disable = yes
I'd like to add:
wait = yes
of course after my string there has to be rest of file...
any ideas?
regards
jahooo
Comment