Computer Science Fundamentals
Operating Systems
Subjective
Mar 12, 2013
What is the use of ‘rmdir’ command?
Detailed Explanation
‘rmdir’ command is use to remove directory. It is compulsory that the directory needs to be empty before remove it and if it is also not present working directory, then you must first change of it.
Syntax- rmdir <directory>
Ex- To remove the empty directory /home/frank/data while in /home/frank use:
% rmdir data
Or
% rmdir /home/frank/data
Discussion (0)
No comments yet. Be the first to share your thoughts!
Share Your Thoughts