Delete or Remove directory
rmdir dirName -- removes/deletes empty directory . Does not
delete the directory if it is not empty.
To remove directory which is not empty:
rmdir -r dirName --
removes / deletes directory with file or other subdirectory in it.
If you want to confirm before deleting each items in the directory:
rmdir -ri dirName -- When you run this command , it asks you
before deleting every file or subdirectory inside the present directory , and you have
to enter "yes" to each of them to delete.
GoTo_Main UNIX Page
NEXT
.
No comments:
Post a Comment