bash change file text code example
Example 1: edit text file bash
sudo nano file.text
Example 2: change file content bash
sed -i 's/search_string/replace_string/' filename
sudo nano file.text
sed -i 's/search_string/replace_string/' filename