title: Why aliases in a non-interactive Bash shell do not work
body: <p>I am trying to use aliases in a non-interactive bash shell. I have defined my aliases in <code>~/.bashrc</code> and I have set the variable <code>BASH_ENV=~/startUpFile</code>. The contents of the startUpFile are <code>source ~/.bashrc</code>.</p>
  
  <p>I can see that my aliases are recognized, when I execute the <code>alias</code> command. However, if I try to use an alias defined in <code>~/.bashrc</code>, Bash can't recognized it. It gives me the unknown command error.</p>
  
  <p>With the TCSH shell it is pretty easy to do this because the <code>~/.cshrc</code> file is always read.</p>
  
  <p>Any ideas how I can do this with a Bash shell? </p>