world% rmdir wwwinfo world%The rmdir command will only remove an empty directory . If the directory still has active files, the following error will occur:
world% rmdir wwwinfo wwwinfo: Directory not empty world%To get a listing of the files in the directory use:
world% ls wwwinfo notes sites world%This directory contains the files named notes and sites. First remove these files with:
world% rm wwwinfo/notes File wwwinfo/notes. Remove ? (yes/no)[no] : yes world% rm wwwinfo/sites File wwwinfo/sites. Remove ? (yes/no)[no] : yes world%Now that the directory named wwwinfo is empty, you will be able to remove it.
ADVANCED FEATURE
If you are sure that you want to remove a directory and all the files it contains, you can force the recursive remove of the files. Notice the command is 'rm -r' and not 'rmdir -r'.
world% rm -r wwwinfo Directory wwwinfo. Remove ? (yes/no)[no] : yes File wwwinfo/notes. Remove ? (yes/no)[no] : yes File wwwinfo/sites. Remove ? (yes/no)[no] : yes world%RELATED COMMANDS
HOME Top of Help Desk Eye On The World The World Kiosk
For further assistance, please send an email
request to support@world.std.com
Copyright 1995 Software Tool & Die, Inc. All Rights Reserved.
Software Tool & Die, Inc., 1330 Beacon St. Suite 215 Brookline, MA 02146