Hi I am new to Linux and shell scripting.
I have made a script 'script1.sh' in a directory : /root/ansh/scripts
I want to invoke this script from any other directory . I understand that for doing this I'll have to set the path of the script in some global variable. But I have no idea as to how to go about it.
Kindly let me know.