When you 'run' a script, a new shell is launched, in which to run the script. The environment modifications, aliases, etc. do not pass up to the parent shell process. Moreover, the child shell process terminates, and all of it's changes are lost.
Most likely, what you really want to do is
Code:
source ./alias_in_script
This has the same effect as if you were typing everything that is in the script. It occurs in the shell that you are using, hence that changes you make are not lost.
--- rod.