Saturday, 6 May 2017

Linux - Remove a directory with all files

Linux - Remove a directory with all files
//

In Linux if we need to remove a directory it can be done using command

rmdir dirname

But if directory is not empty then system will through an error.

rmdir scripts


This error comes up:

rmdir: failed to remove `scripts': Directory not empty

To remove a directory that is
Read More about it from the following link : http://coding-guru.com/linux-remove-a-directory-with-all-files/ posted by Maz


Previous Post
Next Post

About Author

0 comments: