Bulk replace string in linux terminal : <p>I have bunch of wordpress in my server, i need to change each of wordpress database host in wp-config.php file, how i do it using terminal?</p>

<p>current value</p>

<pre><code>define( 'DB_HOST', '127.0.0.1' );
</code></pre>

<p>need to change to</p>

<pre><code>define( 'DB_HOST', 'dbserver.com' );
</code></pre>
