Hi,
I'm basically looking to see what this line of code does:
. `dirname $0`/../config/config
Thanks.
Hi,
I'm basically looking to see what this line of code does:
. `dirname $0`/../config/config
Thanks.
One directory up (..) from where your script is (dirname $0), there is a directory called "config". In there is a file called "config". The line sources that file into your current shell environment.
. `dirname $0`/../config/config
=
source `dirname $0`/../config/config
=
. ${0%/*}/../config/config