Shell Programming/Condition types

From Wikibooks, open books for an open world
< Shell Programming
Jump to: navigation, search


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