Results 1 to 3 of 3
Hi All,
I am having a code and i need to interpret that. I am having the following syntax.
Code:
if [ ! -x "$OMBPLUS" ]; then
print "Executable OMB ...
- 10-19-2010 #1Just Joined!
- Join Date
- Jun 2010
- Posts
- 3
Meaning of if [ ! -x]
Hi All,
I am having a code and i need to interpret that. I am having the following syntax.
kindly what that IF clause means....Code:if [ ! -x "$OMBPLUS" ]; then print "Executable OMB Plus $OMBPLUS not found!" >&2 exit 1 fi
I cannot understand that. Kindly help me sorting out this.
- 10-19-2010 #2
[ ] is same as test.
See
Code:man test
You must always face the curtain with a bow.
- 10-19-2010 #3
If you are unfamiliar with bash you should check out the bash tutorial on The Linux Documentation Project


Reply With Quote