title: How to write a bash script to set up working environment?
body: <p>I want to write a bash automation script to set up my working environment. Like every day I need to open 7 tabs of the terminal with each service running different command and I also open eclipse and various other applications like postman and other things, now I want to automate all this, means writing a bash script to do all of this. I just don't know how to do this. I'll greatly appreciate if anybody can help me out with this. </p>
  
  <p>I have tried writing a command file like this</p>
  
  <p>file1.command</p>
  
  <pre><code>#! /bin/bash
  sudo mongod
  </code></pre>
  
  <p>but then I'll have to write 7 other command files for each command and others for opening applications, Is it possible with a single bash file to open number of tabs in terminal with each running different command and open applications.</p>
  
  <p>Thanks</p>