Help with UNIX! Please!

Discussion in 'Mac Help/Tips' started by Tiauguinho, Sep 17, 2002.

  1. Tiauguinho macrumors 6502a

    Tiauguinho

    Joined:
    Mar 5, 2002
    Location:
    The Netherlands
    #1
    Guys,


    I have a corrupt file on my desktop that is constantly blocking my machine when I try to move it or delete it by dragging it to the trash. Im starting to be really pissed off with the fact that i have to turn off my machine! How can I delete this sucker from the terminal? the file name is RBrowserLite.3.0.9.dmg

    Thanks in advance for your help


    Tiago


    P.S. Sorry about the rude expressions... but im loosing my mind on this...
     
  2. shadowfax0 macrumors 6502

    Joined:
    May 2, 2002
    #2
    go to versiontracker.com, download an app called XRay. When you ahve it, select the offending file, and under one of the menus of XRay it says 'Emtpy Trash' Its the only nice way of doing it without logging into root, etc etc.
     
  3. edesignuk Moderator emeritus

    edesignuk

    Joined:
    Mar 25, 2002
    Location:
    London, England
    #3
    In the terminal try "rm -f RBrowserLite.3.0.9.dmg"
     
  4. macktheknife macrumors 6502a

    macktheknife

    Joined:
    Jan 24, 2002
    #4
    Don't forget sudo

    You'll probably have to add the sudo (superuser do) command in front of the rm command too.
     
  5. peterjhill macrumors 65816

    peterjhill

    Joined:
    Apr 25, 2002
    Location:
    Seattle, WA
    #5
    Actually do this:

    rm -f ~/Desktop/RBrowserLite.3.0.9.dmg

    If that does not work then do this:

    cd ~/Desktop
    su
    <type in admin password>
    rm -f RBrowserLite.3.0.9.dmg
    exit


    Note, that you can type rm -f RB<tab> where <tab> is you hitting the tab key. The csh supports tabbed autocomplete and it is very nice.

    BTW ~ represents the current users home directory. The reason why just doing rm -f RBrowserLite.3.0.9.dmg won't work, is because you most likely are not in the correct directory when you start the terminal app.
     
  6. Tiauguinho thread starter macrumors 6502a

    Tiauguinho

    Joined:
    Mar 5, 2002
    Location:
    The Netherlands
    #6
    Thanks for your replys! I've done the "rm -f RBrowserLite.3.0.9.dmg" in the desktop directory and it worked just fine! :) thanks! I was starting to be completly out of my mind...
     

Share This Page