CompTIA Linux+ Powered by LPI (LX0-104) — Question 29

What is true regarding the command userdel --force --remove bob? (Choose TWO correct answers.)

Answer options

Correct answer: A, B

Explanation

Option A is correct because the command indeed removes the user bob from the system's user database. Option B is also correct as the command specifies --remove, which deletes bob's home directory. Options C, D, and E are incorrect because the command does not update the locate database, does not affect files on all mounted filesystems, and does not remove groups based on user deletion.