I'm trying to remove directory from my external hard drive that I mounted to the file system.
I'm using the rm
command with the flag rf
but I got the following error:
Directory not empty
Apart from the rm
command, I tried to remove file which is located in that directory recursively by entering the directory, but I got this strange error:
No such file or directory
This is strange because the directory and the file which are located in the directory that I want to remove exist.