Exercises

12.4. Exercises

A couple of practical examples:

  1. Create a script that writes a boot image to a diskette using the dd utility. If the user tries to interrupt the script using Ctrl+C, display a message that this action will make the diskette unusable.

  2. Write a script that automates the installation of a third-party package of your choice. The package must be downloaded from the Internet. It must be decompressed, unarchived and compiled if these actions are appropriate. Only the actual installation of the package should be uninterruptable.


226 visits (1 today, 5 this week, 38 this month, 226 this year)
Uptime: 12:46:32 up 13 days, 18:14, 2 users, load average: 0.00, 0.00, 0.00
216.73.216.236 GET from server z.larrymurakami.com

Monday, July 14, 2025 @ 12:46:32 PM
z.ServerAdmin@lam1.us