Home > Articles

This chapter is from the book

Exercise 69: Mississippi Diabetes Group

The Mississippi Diabetes Group has hired you on a project basis to write a simple shell script for them. The script should ask for the name of a file. When the user enters the name of the file, the script should verify that the file exists within the current directory and that it is readable. If the file does not exist, it should be created with a zero size so that another program can then run without error.

Create this script, named MDG.sh, for the customer.

  • + Share This
  • 🔖 Save To Your Account