How can I insert the content of the variable $SALT in a specific point (line or string) of a file like wp-contet.php from wordpress using Bash script?
How about using sed?
cat wp-config.php | sed 's/old_string/new_string/g' > wp-config.php