<分区>
我已经使用以下命令删除了用户,即 hduser
sudo userdel hduser
在给出上面的命令后,我刚刚使用 grep 命令检查 hduser 是否被完全删除。
I have listed whether hduser has deleted completely or not then i got the below error message
那么我应该如何删除主目录中的 hduser 呢?
标签 linux
<分区>
我已经使用以下命令删除了用户,即 hduser
sudo userdel hduser
在给出上面的命令后,我刚刚使用 grep 命令检查 hduser 是否被完全删除。
I have listed whether hduser has deleted completely or not then i got the below error message
那么我应该如何删除主目录中的 hduser 呢?
最佳答案
“hduser”文件夹在我的主目录中被删除,只是通过以 root 身份登录并给出以下命令。我的错误是我没有以 root 身份登录。
root@system3:/home# sudo rm -rf /home/hduser/
关于linux - 如何在 ubuntu 15.04 中删除已删除用户的主文件夹,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35696455/