Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

How to remove a non empty directory

//remove a non empty directory
rm -r dir1

//remove a directory within directory without being promopted
rm -rf dir1
Source by linuxize.com #
 
PREVIOUS NEXT
Tagged: #How #remove #empty #directory
ADD COMMENT
Topic
Name
2+8 =