Does deleting a user also delete the user’s home folder Linux?

Does deleting a user also delete the user’s home folder Linux?
Answer
userdel -r: Whenever we are deleting a user using this option then
the files in the user’s home directory will be removed along with the home directory itself and the user’s mail spool. All the files located in other file systems will have to be searched for and deleted manually.
 

Tìm kiếm

Back
Top