title: Append on the same line bash
body: <p>Using bash, I need to add to the end of a file, on the same line a string followed by the date. Example "Rebooted on Mon Aug 13 10:38:56 PDT 2012"</p>
  
  <pre><code>echo -n "Reboot done on " ; date
  </code></pre>
  
  <p>This gives me what I want on one line, but I can't append to the text file.</p>
  
  <pre><code>echo -n "Reboot done on " ; date &gt; test.txt
  </code></pre>
  
  <p>This does not seem to work for me. It only gives me the date.</p>
  
  <p>Thanks in advance.</p>