Re: a single command
> 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.
rm -fr /home/apps
...or to remove anything inside /home/apps but leave /home/apps standing
rm -fr /home/apps/*
----------------------------------------------------------------------------
Orn Einar Hansen oe.hansen@oehansen.pp.se
oehansen@daimi.aau.dk
voice+fax; +46 035 217194
--
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: