Answers for "cmd command to delete a non-empty directory"

5

delete non empty directory cmd

rm -rf directoryname
Posted by: Guest on April-14-2020
1

how to delete directory in unix

rmdir directoryname  	// This is will delete an empty directory. 

rmdir -r directoryname 	// This is will delete everything in the directory
						// including all files and subdirectories.
Posted by: Guest on May-16-2020

Code answers related to "cmd command to delete a non-empty directory"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language