User Management: Delete User
userdel 用户名
note
1. Delete the user, but keep the home directoryuserdel 用户名
2. Delete the user and the user's home directory.userdel -r 用户名
Commands that have not yet been touched are used in this process:
ps -ef|grep 筛选的信息
Query the port and filter out the contained information. Example:ps -ef|grep 1494
kill -9 端口号
Kill the port number process. Example:kill -9 1494
Process signal
Linux signal (signal) mechanism
When deleting a user, the home directory is generally not deleted.