An employee has been terminated from the company. Which of the following commands will remove the user from the system and maintain the contents of the employee's home directory?

An employee has been terminated from the company. Which of the following commands will remove the user from the system and maintain the contents of the employee's home directory? 






A. userdel
B. passwd -l
C. usermod -f
D. userdel -r








Answer: A


Learn More :

CompTIA

Learn More Multiple Choice Question :