title: Commands not working in a script
body: <p>I'm trying to write my first bash script to automate some boring stuff I have to type everytime but can't get it working.
  I've created pgAdmin.sh in my home directory:</p>
  
  <pre><code>#!/bin/bash
  cd /opt/enviromentpy/pgadmin4
  source bin/activate
  python lib/python2.7/site-packages/pgadmin4/pgAdmin4.py
  </code></pre>
  
  <p>When I run it using ./pgAdmin.sh I get:</p>
  
  <pre><code>./pgAdmin.sh: line 2: cd: /opt/enviromentpy/pgadmin4: No such file or 
  directory
  ./pgAdmin.sh: line 3: bin/activate: No such file or directory
  python: can't open file 'lib/python2.7/site-packages/pgadmin4/pgAdmin4.py': [Errno 2] No such file or directory
  </code></pre>
  
  <p>But when I open terminal and just put those commands one by one from Home directory it works just fine. </p>