rmdir <directory> {,<directory> ... }
Delete one or more directories and their contents.
<directory>
The name of the directory to be removed. All files and sub-directories
within it will also go.
-q
Quiet mode. If there are errors, for example if the directory
cannot be removed because one of its files is in use, do not print an error message.
Delete a directory.
rmdir my_dir
Delete multiple directories.
rmdir /usr/dir1, /usr/dir2, /usr/dir3
Commands: |
|
Identifiers: |
current_dir (string), home_dir (string) |