Shell Scripting Tutorial – Part 6

FUNCTIONS & SIGNALS 6.1. Signals Finding the signal man page Your system contains a man page listing all the available signals, but depending on your operating system, it might be opened in a different way. On most Linux systems, this will be man 7 signal. When in...

Shell Scripting Tutorial – Part 5

REPETITIVE TASKS & VARIABLES 5.1. FOR loop How does it work? The for loop is the first of the three shell looping constructs. This loop allows for specification of a list of values. A list of commands is executed for each value in the list. The syntax for this...