title: How to date make a file name in linux
body: <p>I try to backup a file in crontab but the date to save a specific folder</p>
  <p>In crontab</p>
  <blockquote>
  <p>crontab -e</p>
  </blockquote>
  <pre><code>* * * * * echo &quot;hi i am safwan&quot; &gt;&gt; /home/safwan/linx/backup/&quot;$(date +&quot;%Y_%m_%d&quot;).bak&quot;
  </code></pre>
  <p>But no backup of the file.</p>
  <p>What is the solution?</p>