cancel
Showing results for 
Search instead for 
Did you mean: 

Remove a file

Jess_13
Advisor

Remove a file

Hi admins,

I would like to delete a file that I uploaded to my server using ftp.

# pwd
/patches
# ls
T64V51BB26AS0005-20050502.com&UserID=CA1340630
patch_kit
t64v51ab21as0004-20030206.tar
# rm T64V51BB26AS000520050502.com&UserID=CA1340630
318433 ( <--pop out automatically)
# rm: T64V51BB26AS0005-20050502.com: No such file or directory

I wonder why the system recognize only T64V51BB26AS0005-20050502.com but not the whole thing.

Please help!
3 REPLIES
Jess_13
Advisor

Re: Remove a file

Using ftp to remove instead go in the server
Steven Schweda
Honored Contributor

Re: Remove a file

The ampersand ("&") is a special character to
the shell. Quote the file name next time.
Johan Brusche
Honored Contributor

Re: Remove a file


touch test\&.dat
ls test*
test&.dat

rm test\&.dat

Using \ as escape character...

_JB_