DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+3 =
Submit