Objectives
A definition for command-line programs
To create Bash command-line programs
To use logical comparisons to alter the execution path of command-line programs
To use “for” loops to iterate over a code segment a specified list of items
To use “while” and “until” to loop over a portion of code a specified number of times.
Introduction
We have already used command-line programs in earlier chapters of this course. Those were all fairly simple and straightforward with simple requirements. There are many times when SysAdmins create simple command-line programs ...