Vous êtes sur la page 1sur 1

Advanced Bash-Scripting Guide:

Prev Next
(invoking.html) Chapter 2. Starting Off With a Sha-Bang (part2.html)

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
(timedate.html#DATEREF), lists all logged-in users (system.html#WHOREF), and
gives the system uptime (system.html#UPTIMEREF). The script then saves this
information (io-redirection.html#IOREDIRREF) to a logle.

Prev (invoking.html) Home (index.html) Next (part2.html)


Invoking the script Up (sha-bang.html) Basics

Vous aimerez peut-être aussi