I have an application that I can run while I am in the file location as the below:
-$ cd home/myApps/app
-$ ./run.sh
I want to call the run.sh from anywhere in my terminal without being in the full path, I tried to used alais and add the below code to bashrc file.
alias mylovleyapp=/home/myApps/app/run.sh
the problem is whenever I want to run the app using mylovleyapp, the program return error because the run.sh is depending on another files in myApps folder
How I can achieve that?