Linux Today: Linux News On Internet Time.

More on LinuxToday

Conditions in bash scripting (if statements)

Dec 01, 2012, 07:00 (0 Talkback[s])
(Other stories by rechosen)

If you use bash for scripting you will undoubtedly have to use conditions a lot, for example for an if ... then construct or a while loop. The syntax of these conditions can seem a bit daunting to learn and use. This tutorial aims to help the reader understanding conditions in bash, and provides a comprehensive list of the possibilities. A small amount of general shell knowledge is assumed.

Complete Story

Related Stories: