title: Escaping pipe character in rsh
body: <p>I am trying to run this bash command, but I cant get around the "|" pipe character</p>
  
  <p><code>rsh -l user machine "echo "PORTS = 123|456|789" &gt;&gt; conf.cfg"</code></p>
  
  <p>Getting:</p>
  
  <p><code>bash: 456 &gt;&gt; conf.cfg: No such file or directory</code></p>
  
  <p><code>bash: 789: command not found</code></p>
  
  <p>Would you know how I can echo <code>PORTS = 123|456|789</code> into a remote file ?</p>
  
  <p>Thanks!</p>