Hello,
I have one script which looks as given below ,
. ${0%/*}/init && init_job || exit 1
what I understood is ,
-
above syntax has three commands, two on left of || and one on right of ||.
-
${0%/*} would generate some path.
Question.
A. What is the meaning of ${0%/*} , how to understand it.
B. what is init and init_job ?
Thanking you very much.