Re: delete directory
From: houghi (houghi_at_houghi.org.invalid)
Date: 04/07/05
- Next message: houghi: "Re: SuSE 9.3"
- Previous message: Manfred Crumbach: "Re: Postfix statistics"
- In reply to: mjt: "Re: delete directory"
- Next in thread: mjt: "Re: delete directory"
- Reply: mjt: "Re: delete directory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 7 Apr 2005 13:51:58 -0000
mjt wrote:
> (Houston CAPCOM <null@null.org>) scribbled:
>
>> I am trying to use rmdir to delete a directory that is not empty and I
>> cant do it. How do I delete a directory that has files in it?
>
>
> ... rm -rf <dirname>
>
I always now use `rm <dirname> -rf` as it gives me 1 second more to
realize what directory I am deleting. Especially handy if you work with
[TAB] a lot. `rm <letter>[TAB] -rf[ENTER]` or `rm -rf
<letter>[TAB][ENTER]` Withe the second you will delete a directory that
you perhaps wich not to delete, because you are in the wrong directory.
I happendd to delete `/sbin` instead of `/usr/home/houghi/tmp/sbin` that
way. Yeah, I was still root after checkinstall and typed `/sb[TAB]`
instead of `sb[TAB]`
-- houghi Please to not toppost http://houghi.org > You tried, and you failed, so the lesson is, never try. - Homer J. Simpson.
- Next message: houghi: "Re: SuSE 9.3"
- Previous message: Manfred Crumbach: "Re: Postfix statistics"
- In reply to: mjt: "Re: delete directory"
- Next in thread: mjt: "Re: delete directory"
- Reply: mjt: "Re: delete directory"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|