Shell Programming/Control statements


The test command can be shortened to '[' and when this is done in control statements it is customary to end it with an accompanying ']' like '[ ]'.