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.


132 visits (2 today, 5 this week, 5 this month, 132 this year)
Uptime: 20:18:24 up 19 days, 3:53, 4 users, load average: 0.02, 0.07, 0.02
216.73.216.169 GET from server z.lamurakami.com

Tuesday, June 3, 2025 @ 8:18:24 PM
z.ServerAdmin@lam1.us