title: Using sed to replace text with slashes in crontab files
body: <p>I'm trying to replace an entry in Crontab (RedHat) with sign #.
  I tried sed command like this</p>
  
  <pre><code>sed -i 's|35 15 * * * /tmp/vii/test.sh &gt;/dev/null 2&gt;&amp;1|#|g' /var/spool/cron/root
  </code></pre>
  
  <p>but it doesn't work. Any ideas?</p>