how do you delete a directory?

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

 



If you use rm -rf then you force deletion.  It's dangerous and should be 
used only if you really are serious and check the command line fully and 
understand what will be deleted before hitting that enter key.

At 10:36 AM 03/09/2004 -0600, you wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On 03/09/04 11:40 AM -0500, cris wrote:
> > Hi folks,
> > This is too elementary for you, but a big deal for a nubie.  How do
> > you delete a directory if it has other subdirectories and files?
> > rmdir does not delete directories unless they are empty.
>
>Use "rm -r <dirname>" and try man rm for more options.
>
>- --
>Clarke's Corollary:
>Any technology distinguishable from magic is insufficiently advanced.
>Thomas Stivers  e-mail: stivers_t at tomass.dyndns.org
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.2.4 (GNU/Linux)
>
>iD8DBQFATfKe5JK61UXLur0RAl4kAJ4yMZaxDzAmTubzUQLuswpH+UQrlACfZb70
>/WMZ9LnxUlQf7mJ4eQI5pS8=
>=f/Z5
>-----END PGP SIGNATURE-----
>
>_______________________________________________
>Speakup mailing list
>Speakup at braille.uwo.ca
>http://speech.braille.uwo.ca/mailman/listinfo/speakup





[Index of Archives]     [Linux for the Blind]     [Fedora Discussioin]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]
  Powered by Linux