Linux Labs· Linux FoundationsLab 4 of 26
Write Your First Bash Scripts
Start from an empty file and end with two small commands of your own: one that counts matching lines in a log and one that turns that count into an alert, with arguments, tests, error messages and exit codes done properly.
- Beginner
- 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 ScriptsYou are here
- Bash Scripts That Loop Over Input30 min