next up previous contents index
Next: Appendix 2: Text Editors Up: Appendix 1: Common UNIX Previous: rm   Contents   Index

rmdir

This command is the reverse of the mkdir command. It causes the directory specified to be removed. There is only one option for this command:


\begin{hanging}
\item{-p} removes any parent directories that become empty by removing the
specified directory.
\end{hanging}

Example:

rmdir /mnt/DOS

will remove the sub-directory DOS from the path /mnt.

See also: mkdir



Dale Scheetz