title: bash script code help to make zip/tar of several folders
body: <p>I am very new in bash and never coded in before but this task is stuck so need to get rid of it .
  I need to make bash script to make a single compressed file with several dirs.</p>
  
  <p>Like -</p>
  
  <pre><code>/home/code/bots/
  /var/config/
  .
  .
  .
  /var/system/
  </code></pre>
  
  <p>and all will be compressed to single file /var/file/bkup.[zip][tar.gz]</p>
  
  <p>Thanks in advance</p>