< Shell Programming

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 '[ ]'.

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.