title: Shell Script + Write to File a String
body: <p>I have a string</p>
  
  <p>server.ip=192.168.1.200</p>
  
  <p>And I need to write the above statement completely into the file.</p>
  
  <p>How can this be done?</p>
  
  <p>This is what I'm trying to do...</p>
  
  <pre><code>set client_config = xmlrpc_server.properties
  echo 'serverurl=http://'${IP}':8000' &gt;&gt; %${client_config}%
  echo 'port=/RPC2' &gt;&gt; %${client_config}%
  </code></pre>
  
  <p>It doesn't get added to the file.</p>