title: Reload .profile in bash shell script (in unix)?
body: <p>I'm new to bash shell scripting, and have come across a challenge. I know I can reload my ".profile" file by just doing:</p>
  
  <pre><code>. .profile
  </code></pre>
  
  <p>but I'm trying to execute the same in a bash script I'm writing and it is just not working. 
  Any ideas? Anything else I can provide to clarify?</p>
  
  <p>Thanks</p>