Replacing a line in a text file
Is there a way to change one line in a text file from the command line? For example, if inside a config file there is a line that says startup=manual and I want it to say startup=automatic, how can I accomplish this from the command line? Also, there will definitely be multiple instances of the words "startup", "manual", and "automatic" in the file, just not in that particular order, and I can only modify that one line.
|