Delete user
The command to delete a user is userdel.When this command is executed, the user information will be deleted, but the user's home directory will be left behind.If you want to delete the home directory as well, specify "-r" as an option and execute it.