Quote:
Originally Posted by rogue_ronin
What the hell is a '[', and where can I find documentation?
|
'[' is a abbreviation for 'test' - you find the documentation with 'info test' or 'man test'. Once I found that out I have stopped using '[' and use 'test' instead.
So instead of:
Code:
if [ -e /Some/File ] ; then
I use:
Code:
if test -e /Some/File; then
Martin