I have a question about deleting a folder on Ubuntu 18.04 TLS.

Why can't I delete this folder? I have tried to delete with command rm -fr but it didn't work.

Here is the error

  • It says permission denied. Try with root user.
    – Prvt_Yadav
    Jan 18 '19 at 13:24
  • Thank you very much @P_Yadav . First I gain root permission then I used command rm -R
    – lynx
    Jan 18 '19 at 13:35
  • but always be careful while using rm -rf with root user, because there will be no backup if you deleted wrong files.
    – Prvt_Yadav
    Jan 18 '19 at 13:36
  • WARNING: A typo when using rm -rf can destroy your system. Might there be other, safer ways for you to delete files in /home? (Hint: Yes there are!)
    – user535733
    Jan 18 '19 at 15:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.