Answers for "rm directory not empty linux"

15

how to delete a non empty directory in linux

1. To recursively delete use

$ rm -r dirname

2.To forcefully delete use

$ rm -rf dirname
Posted by: Guest on June-10-2020
8

rmdir: failed to remove ‘’: Directory not empty

rm -rf myDirectory
Posted by: Guest on January-16-2020

Code answers related to "rm directory not empty linux"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language