Linux Command Line · 14-day planAll days
Day 14 of 14 40 minPlanningScriptingReporting
Bring the whole course together in one useful tool. Explore real-looking server logs with pipes, turn the best one-liners into a script with functions, options and exit codes, save a dated report, and schedule it to run every morning with cron.
By the end of today you can
- Explore logs interactively with grep, cut, sort, uniq and awk
- Turn one-liners into a well-structured script with functions
- Accept options, check inputs and return meaningful exit codes
- Save a dated report file and print a summary
- Schedule the script with cron
What's inside
- 6 sections
- 2 diagrams and mind maps
- 3 code examples you can run
- 5-question quiz
- 11. Explore the logs
- 22. Plan the script
- 33. The script
- 44. Install it and schedule it
- 55. Make it yours
- 6Course recap
Sign in free to read this lesson
Get the full lesson with diagrams, runnable code and the quiz. Your progress is saved across devices.
Sign in free