How to programmatically modify configuration files?

Arch Willingham arch at tuparks.com
Thu Jul 26 01:45:48 UTC 2007


I have a script that does a bunch of installation stuff. It works well but I can't figure out how to modify some of the configuration files (/etc/samba/smb.conf for example). Is there any easy command to do this? For example, I'd like to change the file so that "workgroup = MYGROUP" becomes "workgroup = ÁUBURN"

Any suggestions?

Thanks!

Arch





More information about the fedora-list mailing list