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.


113 visits (3 today, 9 this week, 23 this month, 113 this year)
Uptime: 17:15:12 up 2 days, 50 min, 2 users, load average: 0.11, 0.04, 0.01
18.221.242.128 GET from server z.lam1.us

Saturday, May 17, 2025 @ 5:15:12 PM
z.ServerAdmin@lam1.us