Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

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
 
PREVIOUS NEXT
Tagged: #delete #empty #directory #linux
ADD COMMENT
Topic
Name
7+5 =