Recycle Bin

what is recycle bin mode in unix???

Never heard of it.

1 Like

UNIX usually has no recycle bin or trash can - But it seem to be a good assignment subject:

...

Found this :
Brandon Stone - UNIX Systems Administrator

� The scope of this project is to create a script that will simulate the functionality of recycle bin.
� With this script, users will be able to

  • Enter into the recycle bin mode. During this mode, all files deleted will be sent to the recycle bin. The recycle bin will be common to all users.
  • View contents of the recycle bin (his/her file(s) only).
  • Retrieve a particular file from the recycle bin (his/her file(s) only). .
  • Delete contents of the recycle bin (his/her file(s) only).
  • A super user should be able to view, retrieve and delete files of any user. When the super user performs an action on a file that does not belong to him/her, a mail confirmation should be sent to the user, which states the files operated on and the action performed by the super user on them.
  • Permanently delete files also (i.e., NOT send the file to the recycle bin).
  • Periodically dump the contents of the recycle bin. (The period can be user defined.)
  • After each periodic purge, mails will be sent to all users whose files were permanently removed from the recycle bin.
  • Exit the recycle bin mode. During this mode, all files deleted will NOT be sent to the recycle bin.

what i need to do ...to do this task.

Do not post classroom or homework problems in the main forums. Homework and coursework questions can only be posted in this forum under special homework rules.

Please review the rules, which you agreed to when you registered, if you have not already done so.

More-than-likely, posting homework in the main forums has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.

If you did post homework in the main forums, please review the guidelines for posting homework and repost.

Thank You.

The UNIX and Linux Forums.