Case Study Lab II: Working with hidden files

Task Overview
Description of the task

Write package of three simple scripts that will hold one note for the user.

  • addnote.sh will: note will be added to the system (one sentence)
  • delnote.sh will: note will be deleted from the system
  • note.sh will: the note prints out the current user. If such does not exist, so nothing is written

Each user will be able to fulfill its own note.

Technical instructions

For solving the problem follow these steps:

  • Note file, save it as hidden files (dot) in the home directory of the user
  • Scripts folder into the /etc to set rights so that they can be used by all users of scripts
  • Only use what we have learned so far. No conditions are required
  • Load text notes through a statement read