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.
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
Trouble? e-mail to firstname.lastname@example.org .