Here is a part of my .bashrc
alias my_command="my_command -1 -2 -3"
and its my shell script
#!/bin/sh
my_command blah blah blah
It occurs into error
./aa: line 2: my_command: command not found
So, how to define aliases for the command in the right way?
my_command
in your file?java
as/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.9.x86_64/bin/java
and NOT as/usr/bin/java