Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Complete the following tasks. Tasks should be completed in the order below. When

ID: 3842778 • Letter: C

Question

Complete the following tasks. Tasks should be completed in the order below. When you are finished, click the Done button to close the lab and move to the next question. Only click the Done button after you have finished all required tasks. After clicking Done, you will be unable to restart the lab. Complete the following tasks in the Linux operating system from the Command Line Interface (CLI): 1. Delete the/home/wadams/wh directory and all of Its contents. 2. Delete the lblaine user account and his corresponding home directory. 3. Mount the DVD-ROM drive to the/media/dvd directory. 4. Log out of the system, while leaving the system powered on.

Explanation / Answer

1)for deleting the folder directory:
rm -rf wadams/wh
In case user doesn't have the permission to delete the folder:
sudo rm -rf folderName

2)in Linux using
deluser (For Debian and it’s derivatives) and
userdel (For RedHat/CentOS based systems) command

userdel -r -f lblaine

To remove the user’s home directory and mail spool pass the -r option to userdel, enter:
Pass the –-f option orce removal of files, even if not owned by user:

3)mount -t iso9660 /dev/dvdrom /media/dvd

mount is the command to mount devices files etc in a Linux/Unix box.
-t is the option to specify the format of the device, here it is iso9660 format.
This is the format how data is written on to the device.


4)# logout