Deleting file/link from shell

arhs

Well-Known Member
Jul 4, 2003
116
0
166
Hi,

I was trying to wget the clam av 80 file however , the file did not get downloaded to the server , it just created these blank links, I’m trying to delete them , however its not deleting them does any ones knows how to delete this?

Files/Link:
PHP:
clamav-0.80.tar.gz?download&failedmirror\=telia.dl.sourceforge.net    
clamav-0.80.tar.gz?download&failedmirror\=telia.dl.sourceforge.net.1  
clamav-0.80.tar.gz?download&failedmirror\=telia.dl.sourceforge.net.2  
clamav-0.80.tar.gz?download&failedmirror\=umn.dl.sourceforge.net

I have tried the rm –fr , rm , etc... commands , but its giving out the following error:

PHP:
[email protected] [~]# rm clamav-0.80.tar.gz?download&failedmirror\=telia.dl.sourceforge.net
[1] 12759
-bash: failedmirror=telia.dl.sourceforge.net: command not found
[email protected] [~]# rm: cannot lstat `clamav-0.80.tar.gz?download': No such file or directory

Thanks in advance :)
 

PWSowner

Well-Known Member
Nov 10, 2001
2,901
4
343
ON, Canada
That's because some of the characters in the file name are interpreted rather than just read.

You got
-bash: failedmirror=telia.dl.sourceforge.net: command not found
because it thought &failedmirror was a command.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
31
473
Go on, have a guess