Re: two questions

epilogue_at_allstream.net
Date: 06/25/04

  • Next message: Marcos Hiroshi Umino: "ECS/PCChips G713 - PCI problems"
    Date: Thu, 24 Jun 2004 23:51:09 -0400
    To: ms@probsd.org
    
    

    On Thu, 24 Jun 2004 20:29:35 -0700
    Hemal Pandya <hemalpandya@gmail.com> wrote:

    > On Thu, 24 Jun 2004 23:06:29 -0400 (EDT), Michael Sharp <ms.probsd@org>
    > wrote:
    > >
    > > I'm having a brain freeze tonight and apparently forgot some
    > > basic UNIX commands..
    > >
    > > what is the command to remove the file "--directory"
    > >
    > > rm *directory* = nope
    > > rm "*directory*" = nope
    > > rm \-\-\directory = nope
    > > rm -i * = nope and dosent even see the file
    > rm ./-directory

    funny, though i tried these on a test directory...

    rm ./-test
    rm -- --test

    ...neither worked for me. admittedly, both suggestions are new to me
    and i'm likely 'misreading' the statements. anyhoo, i've always had
    success deleting directories with:

    rm -r
    rm -rf # if i'm lazy and want to save myself a 'y' and an 'enter', or
    simply don't feel like being second guessed. :)

    epi

    >
    > >
    > > Also, if I'm in / and want to tar the entire filesystem
    > > EXCLUDING the
    > > directory jail ( /jail ) what would be the switches to tar?
    > >
    > Lookup --exclude in man tar. You want :
    > $ tar cvf file.tar --exclude jail .
    > > Dana
    > >
    > _______________________________________________
    > freebsd-questions@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to
    > "freebsd-questions-unsubscribe@freebsd.org"
    >
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Marcos Hiroshi Umino: "ECS/PCChips G713 - PCI problems"

    Relevant Pages

    • Re: Disabling Print Screen key
      ... On Jul 31 2007, Luis Finotti wrote: ... set in KDE, but pressing starts KSnapshot. ... Now, this is funny. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: Bad news from my ophthalmologist: Macular edema and retinopathy. .
      ... The way I read it Mary, is that it was supposed to be funny, mean but ... To those who wish to defend Reisa behaviour. ... Or that matter suggesting they would benefit from a flea bath. ...
      (alt.support.diabetes)
    • Re: Missing /dev/raw1394
      ... Hash: SHA1 ... Funny thing is, /dev/raw1394 doesn't exist. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: panic on 4.10-STABLE boot w/SMP (same here)
      ... Ken Smith ... there, funny things are everywhere. ... Theodore Geisel | ... To unsubscribe, ...
      (freebsd-stable)
    • Re: same problem
      ... funny but i am experiencing the same problem with my fujitsu-siemens pc. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)