Modify a file directly.
Section: sed awk and Structured Text Workflows
Edit file in place with sed
bash
bash
sed -i.bak 's/debug=false/debug=true/' app.confExplanation
Create a backup suffix when editing important files.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing sed awk and Structured Text Workflows