title: Linux: why doesnt sed -e '1,244d' remove
body: <p>why doesn't sed -e '1,244d'  remove the first 244 lines of a text file. I've used this code many time albeit with much smaller line counts
  here is a copy of the code:</p>
  
  <pre><code>    sed -e '1,244d' /home/user/Documents/working_files/storage/file.txt &lt;&gt; /home/user/Documents/working_files/storage/file.txt
  </code></pre>
  
  <p>I test the script in bash and nothing happens, I run it under sudo and it displays the script modified per the script, but it does not append/overwrite to the file, I used the "&lt;>" option to try to get the script to clear the un-needed and then not have to append it into a new file.
  any help would be greatly appeciated. 
  Thanks for your help</p>