title: bash script not reading alias in bashrc
body: <p>I have created an alias in the .bashrc file:</p>
  
  <pre><code>alias java='java -Xmx1200m'
  </code></pre>
  
  <p>This alias works when I run a java command from my shell directly.</p>
  
  <p>However, when the java command is inside a bash script (script.sh), this alias does not get activated. How do I ensure that the aliases in .bashrc file are accepted in a bash script ??</p>