Writing BASH Scripts Assignment 6 Solution





During this hands-on project, you will login to a Linux workstation and develop a BASH script experimenting with a few Shell language constructs and commands.


Write a shell script, named delete, that mimics the way the rm command operates, but rather than erasing any files, it would put them in the user’s .Trash folder. To verify, the script then displays contents of the .Trash folder. The script then gives the user the choice to undelete. If so chosen, the script makes these files reappear where they were deleted and verifies the undeleting.

Submission Instructions

Submit your delete script file on Blackboard.

error: Content is protected !!