I noticed that this does not work:
/tomcatDirectory/bin $ startup.sh //command not found
but this does work
/tomcatDirectory $ bin/startup.sh
I am used to Windows. It seems counter-intuitive to me that I can not run a program from its working directory, only from the parent folder.
What's the bigger picture of what's happening here?
export PATH=$PATH:/tomcatDirectory/bin
to~/.profile
. – goldilocks Feb 13 '13 at 14:11