title: Write current date/time to a file using shell script
body: <p>I am trying to use a shell script to write the current date and time to a file. Here is what I have so far</p>
  
  <p><code>echo "$(date)" &gt;&gt; //home/user/Desktop/Scripts/Date Logs/datelog.txt</code></p>
  
  <p>It will say it completed but nothing is printed to the file after it is run. </p>