exam questions

Exam LX0-104 All Questions

View all questions & answers for the LX0-104 exam

Exam LX0-104 topic 3 question 23 discussion

Actual exam question from CompTIA's LX0-104
Question #: 23
Topic #: 3
[All LX0-104 Questions]

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

  • A. The user bob is removed from the system's user database.
  • B. The user bob's home directory is removed.
  • C. The locate database is updated to drop files owned by bob.
  • D. All files owned by bob are remove from all mounted filesystems.
  • E. In case bob was the last member of a group, that group is deleted.
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
linux_admin
2 years, 2 months ago
The userdel command is used to delete a user account in a Linux system. The --force option causes the userdel command to ignore any errors and delete the user even if it is currently logged in. The --remove option tells the userdel command to remove the user's home directory and all other files associated with the account, such as mail spool and crontab entries. The final argument, bob, is the name of the user account to be deleted.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago