Create a Bash script that reports disk usage, memory usage, uptime, and current user context in one quick health check.
Practice automation basics by turning common Linux commands into a reusable script.
Choose which system signals the script should report.
Select disk check command
Select memory check command
Select uptime and user commands
Build a Bash script that runs the selected commands in a readable format.
Create script file
Add command sections
Format output clearly
Make the script executable
Execute the script and improve readability or usefulness.
Run the script
Review output
Adjust formatting
Document usage
Choose system health commands.
Write a Bash script.
Make it executable.
Run it and review output.
Document how to use it.
Script runs successfully
Disk, memory, uptime, and user info appear in output
Output is readable and structured
README explains how to run the script
Bash script file
README with usage instructions
Sample output proof
Shows that you can automate repetitive Linux inspection tasks with simple scripting, which is a very practical junior DevOps skill.
Forgetting execute permissions
Messy or unreadable output formatting
Using commands not available on the target host
Not testing the script after writing it
Add colored output
Write results to a file
Add threshold warnings
Schedule the script with cron