I have a shell script, called startmq.sh, to run activeMQ. However I changed the script, it did not refresh the changes at all.
Even I only wrote echo "Hello World", it did not refresh and was trying to run activeMQ with wrong parameters.
Then, I copy startmq.sh to abc.sh and tried to run abc.sh. It showed Hello World.
Plus, I need to use that standard name startmq.sh.
Thanks.
can it be, that you have this script multiple on the server?
under bash do the following whereis shows you the locations of the script(s) and which shows you witch script ist starting …