Answers for "remove a non empty directory"

13

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
1

remove a non empty directory

sudo rm -R [Directory name]
Posted by: Guest on January-23-2021
2

remove directory linux

rm -rf /path/to/directory/*
Posted by: Guest on November-03-2020

Code answers related to "remove a non empty directory"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language