I created one simple vmctl.sh script file to start servers. for this i created simple scripts.I am able to run from that location it self as ./vmctl.sh like that.
but i want to run this file simple any location of the system terminal from simple typing vmctl command to achieve this what are the steps i need to follow.
let me know its an urgent requirement.
add the location of the file to the PATH environment
ex: if vmctl.sh is under /home/oracle folder then
and try running vmctl.sh from any location it should work.....
if you want this to be permanent than in your .bash_profile add below line
then logout and login and try running vmctl.sh it should work.....