LINUX
RMDIR Command
If your are in Desktop directory and you want to delete the directory aman. So type the following command.
$ rmdir aman
If you want to delete the two or more directory Simultaneous. Type the following command.
/Desktop$ rmdir Desktop/aman Desktop/abhi
In this case the directories aman and abhi will be delete from the Desktop directory.
Note that Desktop directory will not be deleted.
Note that the all the directories must be empty to perform the rmdir command.
If you want to delete above type of directories in a one command, type the following command.
$ rmdir software/adce software/mdce software/dcap software
Note : You can also use -p option with rmdir for remove all the directories even they have not empty.
For removing above type of directories structure type this command ;
$ rmdir -p Software/ADCE Software/MDCE Software/DCAP
Your feedback is very important for us :)

Post a Comment
0 Comments