[Log In ] [New Posts] []
Go Back   GotApex? Forums Forums > General Topics > Software, OS, and the Internet
User Name
Password

Reply
 
Thread Tools Search this Thread Display Modes
Old 03-31-2005, 06:34 PM   #1
shocky123
Lieutenant Commander
 
shocky123's Avatar
 
Join Date: Aug 2004
Location: Ames, Iowa
Posts: 828
Send a message via AIM to shocky123
Hmm Linux Help please

Alright.. so somehow on our AFS.. someone has managed to rename a file from it's original (valid) tar name... to: "-d.tgz"
Nonetheless.. the file needs to be deleted, normal syntax for deleting this results in 'file not found' or 'invalid option'
I've tried using the \- thingys.. but to no avail.

Anybody ever had a similar problem.. or maybe know a workaround for getting rid of the file??
(btw.. renaming the file doesnt work )

Thanks,

~Kyle
__________________
"me awaits onslaught of estrogen fury." -CornMonkey

"5. When your friend dates a woman that is absolutely terrible for him, and she's wrecking his life, it's your duty to openly hate her, and point out how evil she is." -ialsohaveadream
shocky123 is offline   Reply With Quote
Old 03-31-2005, 10:54 PM   #2
Hoser
Commander
 
Join Date: Apr 2000
Location: Omaha, NE, United States
Posts: 1,275
I think that you can delete the file if you use the entire path name surrounded by quotation marks.

Like rm "/usr/shocky123/-d.tgz"

I don't have a Linux box up and running now, so I'm not sure if this will work.
Hoser is offline   Reply With Quote
Old 04-01-2005, 12:35 AM   #3
doolittle
Lieutenant Commander
 
doolittle's Avatar
 
Join Date: Mar 2005
Location: San Diego CA
Posts: 910
is the file running?
doolittle is offline   Reply With Quote
Old 04-02-2005, 09:55 AM   #4
shocky123
Lieutenant Commander
 
shocky123's Avatar
 
Join Date: Aug 2004
Location: Ames, Iowa
Posts: 828
Send a message via AIM to shocky123
no the file isnt running.. I'll try your recommendation Hoser and let you guys know if it works

thanks,

~Kyle
shocky123 is offline   Reply With Quote
Old 04-02-2005, 03:25 PM   #5
sho.gun
the lemonizer
 
sho.gun's Avatar
 
Join Date: Apr 2001
Location: Calabasas, CA
Posts: 5,373
Send a message via AIM to sho.gun
if all else fails, maybe you can temporarily copy the other files to a different folder, rm *, then copy it back.
sho.gun is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -7. The time now is 04:57 AM.