Saturday, July 24, 2010

Remove Directory command

Removes directory when contents inside it are empty :

           
  rmdir directory_name  

Delete all the contents including contents of sub-directory with out the prompt message,in simple recursive delete without prompt :

           
  rm -rf directory_name  

recursive delete with prompt messages :

           
  rm -r directory_name  

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails
Make Money Blogging