Linux Labs· Linux FoundationsLab 5 of 26
Bash Scripts That Loop Over Input
Write four small scripts that act on a list: over their arguments, over the lines of a host inventory, over a directory of logs and over the output of a monitoring command. Each one is then run on input you have not seen.
- Intermediate
- 30 min
- Not rated yet
- A real environment in your browser
- You run the commands yourself
- Your result is checked automatically
In this moduleLinux Foundations
- Find Answers on the Machine Itself25 min
- Become Another User with su and sudo25 min
- History, Aliases, and Shell Startup Files30 min
- Write Your First Bash Scripts30 min
- Bash Scripts That Loop Over InputYou are here