i'm kinda new to linux programing, and I've searched everywere, and i don't find any answer for my question, i have a file lets call it, config.txt/.ini; My question is: Is there anyway with a script, to find in the file some text and if it finds the search text do something;
For exemple:
- Search for: 'my/text/mytext'
- And add: ';' to the begin of the line.
- or even delete the line.