I am using ubuntu 12.04. I have a custom script at my home directory, named ~/configure/run-server. Here -
configure - is directory at my home
run-server - is script at that runs tomcat and check some constraint/prerequisite to run my project on tomcat. This script has no other dependency.The script is executable and runs fine without any errors.
To run the script I have to do -
$ ./configure/run-server
But I want to run the - run-server script like like regular command eg.- cp, mv, scp etc. To run these command we don't need to specify any other extra thing. How can I do this for the run-server command?
Thanks
$HOME/configurein your PATHalias run-server "$HOME/configure/run-server"