使用deluser命令删除用户时,可通过以下选项指定删除文件:
deluser
--remove-home
--remove-all-files
注意:需使用sudo权限执行命令,且操作不可逆,建议提前备份重要数据。
sudo