PDA

View Full Version : Help with UNIX! Please!




Tiauguinho
Sep 17, 2002, 04:07 PM
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...



shadowfax0
Sep 17, 2002, 04:40 PM
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.

edesignuk
Sep 17, 2002, 04:48 PM
In the terminal try "rm -f RBrowserLite.3.0.9.dmg"

macktheknife
Sep 17, 2002, 05:00 PM
You'll probably have to add the sudo (superuser do) command in front of the rm command too.

peterjhill
Sep 17, 2002, 05:04 PM
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.

Tiauguinho
Sep 17, 2002, 05:06 PM
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...