I tried to remove a directory by using command
rmdir but I got this answer:
The directory is not empty.
How to deal with such problems?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
If you don't want to empty the directory first, you can use
to recursively remove directories and their content.
Please note also that this is already explained in the documentation.
rmdircommand will delete an empty directory. To delete a directory and all of its contents recursively, use
Since you are not an expert, I suggest that you read carefully that documentation page before using more the terminal, before you do some damage to your files!