Home
Search all pages
Subjects
By activity
Professions, Sciences, Humanities, Business, ...
User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...
Text Strings
Conversions, tests, processing, manipulation,...
Math
Integer, Floating point, Matrix, Statistics, Boolean, ...
Processing
Algorithms, Memory, Process control, Debugging, ...
Stored Data
Data storage, Integrity, Encryption, Compression, ...
Communications
Networks, protocols, Interprocess, Remote, Client Server, ...
Hard World Timing, Calendar and Clock, Audio, Video, Printer, Controls...
File System
Management, Filtering, File & Directory access, Viewers, ...
|
|
|
RocketLink!--> Man page versions:
OpenBSD
FreeBSD
NetBSD
RedHat
Others
[IEEE Std1003.2-1992 (``POSIX.2'')]
RMDIR(1) OpenBSD Reference Manual RMDIR(1)
NAME
rmdir - remove directories
SYNOPSIS
rmdir [-p] directory [...]
DESCRIPTION
The rmdir utility removes the directory entry specified by each directory
argument, provided it is empty.
Arguments are processed in the order given. In order to remove both a
parent directory and a subdirectory of that parent, the subdirectory must
be specified first so the parent directory is empty when rmdir tries to
remove it.
The options are as follows:
-p Each directory argument is treated as a pathname of which all
components will be removed, if they are empty, starting with the
last most component. (See rm(1) for fully non-discriminant re-
cursive removal.)
The rmdir utility exits with one of the following values:
0 Each directory entry specified by a dir operand referred to an
empty directory and was removed successfully.
>0 An error occurred.
SEE ALSO
rm(1), rmdir(2)
STANDARDS
The rmdir utility is expected to be IEEE Std1003.2 (``POSIX.2'') compati-
ble.
OpenBSD 2.6 May 31, 1993 1
Source: OpenBSD 2.6 man pages. Copyright: Portions are copyrighted by BERKELEY SOFTWARE DESIGN, INC., The Regents of the University of California, Massachusetts Institute of Technology, Free Software Foundation, FreeBSD Inc., and others. |
(Corrections, notes, and links courtesy of RocketAware.com)
FreeBSD Sources for rmdir(1) OpenBSD sources for rmdir(1)
Up to: Directory Access - Accessing directories of files, browsing, management, et al.
RocketLink!--> Man page versions:
OpenBSD
FreeBSD
NetBSD
RedHat
Others
[IEEE Std1003.2-1992 (``POSIX.2'')]
Rapid-Links:
Search | About | Comments | Submit Path: RocketAware >
rmdir.1/
RocketAware.com is a service of Mib Software Copyright 1999, Forrest J. Cavalier III. All Rights Reserved. We welcome submissions and comments
|