#!/bin/bash NAME=invatur wp core config --dbname=$NAME --dbuser=$NAME --dbpass=$NAME --dbhost=db sed -i 's/ /tmp/out && mv /tmp/out wp-config.php