From the course: Learning Bash Scripting

Unlock this course with a free trial

Join today to access over 24,800 courses taught by industry experts.

Challenge: Make a script that generates a system report

Challenge: Make a script that generates a system report - Bash Tutorial

From the course: Learning Bash Scripting

Challenge: Make a script that generates a system report

(upbeat music) - [Instructor] Let's take a moment to put together some of the things we've seen so far. Your challenge is to create a script that shows some information about the system it's running on. In your script, you should use some of the standard tools that Linux provides for finding out about the system. These could include df to find storage utilization, free to find out about memory, or any other tools that provide information you might be interested to see at a glance when you run your status script. Consider using tools like awk or sed to manipulate the output of commands if you're familiar with them. If you'd like to learn more about awk and sed, take a look at our courses that cover them. Use some of what you've learned about text formatting as well to make the output of the report organized and appealing. This is an opportunity to practice your skills and there's no right or wrong answer. This…

Contents