You can use sed for this:
sed -i 's/toreplace/yoursetting/' configfile
sed is probably available on any UNIX system. If you want to replace several cases, you can add g to the s command:
sed -i 's/toreplace/yoursetting/g' configfile
Be careful, as this can completely destroy your configuration file if you did not specify the correct value for your file. sed also supports regular expressions when searching and replacing.
Flashpix
source share