Summary
In this chapter we showed how to use the read
built-in command to query the keyboard. We explained some of the different options to read and also covered the use of traps. A simple drawing game was also included.
The next chapter will show how to automate a script so that it can run unattended. We will explain how cron
can be used to run the script at a specific time. The archival programs zip
and tar
will also be covered as they are very useful when creating automated back up scripts.