What is userdel command used for in Linux?
Experience Level: Junior
Tags: Linux
Answer
The userdel command is used to delete a user account and related files. This command basically modifies the system account files, deleting all the entries which refer to the username LOGIN. It is a low-level utility for removing the users.
Related Linux job interview questions
What is a difference between chown and chmod in Linux?
Linux JuniorWhat is sed command used for in Linux?
Linux JuniorWhat is useradd command used for in Linux?
Linux JuniorWhat is hostname command used for in Linux?
Linux JuniorWhat is unzip command used for in Linux?
Linux Junior