Advanced Bash-Scripting Guide: An in-depth exploration of the art of shell scripting
Prev | Chapter 2. Starting Off With a Sha-Bang | Next

# 2.2. Preliminary Exercises

1. System administrators often write scripts to automate common tasks. Give several instances where such scripts would be useful.

2. Write a script that upon invocation shows the time and date, lists all logged-in users, and gives the system uptime. The script then saves this information to a logfile.

Prev | Home | Next
Starting Off With a Sha-Bang | Up | Basics