Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
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_