Computer Science - Unix - Discussion
Discussion Forum : Unix - Section 1 (Q.No. 6)
6.
Which command is used to remove a directory?
Discussion:
5 comments Page 1 of 1.
Lavanya said:
9 years ago
rmdir and rm-r also for removing the directory.
Hemanth said:
1 decade ago
rm dir means remove directory.
Bishu Moharana said:
1 decade ago
'rm' is used to remove dir/file. But if the file is empty then we can use 'rm' or 'rmdir'
Mayur verma said:
1 decade ago
"rmdir" removes only empty directories while rm removes directories along with its contents.
Amit Upadhyay said:
1 decade ago
"mv" command will also serve the purpose.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers