Jump to content

Shell Programming/Condition types

From Wikibooks, open books for an open world


Condition types are used inside '[ ]' in order to test for a condition. Condition types are divided into three categories - String comparison, Arithmetic comparison and File conditional.