go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  The rmdir command
 
Subject: The rmdir command
Author: Unix
In response to: Create / Delete Directory on Unix / Linux
Posted on: 10/06/2011 06:37:09 PM

rmdir stands for remove directory which is used to delete a empty directory

Example:

       rmdir mydir

Note:
  • you need the write rights to run this command.


    To remove a non-empty directory, you have to use:
       rm -f -r mydir

    Note:
  • -f forcibly;
  • -r recursively.



     

    > On 10/06/2011 06:30:22 PM Unix wrote:

    The mkdir command

    mkdir stands for make directory which is used to create a new directory

    Example:

           mkdir mydir
    

    Note:
  • you need the write rights to create a new directory;
  • the newly created directory bears the permission mode of rwxrwxrwx (777)





    References:

  •  


     
    Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
     
    Get your own forum today. It's easy and free.