title: How can I find the current date minus seven days in Unix?
body: <p>I am trying to find the date that was seven days before today.</p>
  
  <pre><code> CURRENT_DT=`date +"%F %T"`
   diff=$CURRENT_DT-7 
   echo $diff 
  </code></pre>
  
  <p>I am trying stuff like the above to find the 7 days less than from current date. Could anyone help me out please?</p>