[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: a single command

On Wed, Dec 24, 1997 at 10:10:35PM -0500, Aaron Walker wrote:
> Is there a command to delete all files and subdirectories within a
> directory. For example, I have the directory apps in my home directory.
> Lets says apps has 7 files and 2 directories.  With one command, how can
> I delete the apps directory and all its contents.  I looked at the man
> page but didn't see anything helpful.  Thanks.

Try "rm -r <dir>" or "rm -rf <dir>".  Read the rm manpage for details.

Adam Klein

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .

Reply to: