This video was created for students in my college class on using the Linux/UNIX command line (tonysako.com). In this video you will learn how to check for, and prevent infinite loops in sh and bash scripts. This is done by using if statements to check the start, end and increment values to ensure that they increment in the correct direction.