Owner's manual

rm -ri pathname
When you enter the command in this form, you are prompted for verification before each file or
directory is removed. By answering y (yes) or n (no) in response to the prompt, you control the
actual removal of a file or directory.
Be aware that when using the rm -r command to remove files or directories in the root directory,
the /E and /G directories are, by default, also removed. To prevent the /E and /G directories
from being removed, use the -W NOE and -W NOG flags, respectively, on the rm -r command
when using it from the root directory.
120 Managing Directories