
COMMANDS AND SYNTAX LBI-39040
61
The files misc.dat, 1234.dat, and 1235.dat match. The files are deleted without inquiry.
Note: It is not necessary to enter the volume name for the hard drive. 01.02/ and / have the same meaning.
6.2.14. rm
rm -- removes (unlink) files
USAGE:
rm [-fir] filename
DESCRIPTION:
rm removes (directory entries for) one or more files. If an entry was the last link to the file, the contents of that file are
lost.
OPTIONS:
• f Forces files to be removed without displaying permissions, asking questions, or reporting errors.
• i Asks whether to delete each file, and, under -r, whether to examine each directory. Sometimes called the “interactive
option.”
• r Recursively deletes the contents of a directory, its subdirectories, and the directory itself.
NOTES:
Removing the file “..” is forbidden to avoid inadvertently causing a problem such as “rm -r .*”.
EXAMPLE:
pSH+> rm -i sep29.exp
rm: remove sep29.exp? y
pSH+>
6.2.15. rmdir
rmdir -- removes (unlinks) directories
USAGE:
rmdir directory
DESCRIPTION:
rmdir removes each named directory. rmdir only removes empty directories.
OPTIONS:
None.
Comentários a estes Manuais