Pcks all files not just those in the users home directory


Design and implement the removeuser.sh script.

Required script functionality:

  • removeuser.sh -v : prints the script version number and exits
  • removeuser.sh -h : prints help content and exits
  • removeuser.sh : Removes the user account from the system without removing any of the user's files.
  • removeuser.sh -z :
    • Disables (locks) the account username
    • Packs all files (not just those in the user's home directory) belonging to into single compressed archive named
    • Then, removes the user account

 

Solution Preview :

Prepared by a verified Expert
Operating System: Pcks all files not just those in the users home directory
Reference No:- TGS0666746

Now Priced at $30 (50% Discount)

Recommended (94%)

Rated (4.6/5)