jpetter
asked on
Cannot remove file with strange name
Hi,
I don't know how this happened, but I have an 85MB file I'm trying to remove, and regardless of what I try, I can't do it. The filename is: jdk-6u25-linux-i586.bin?e= 1318426078 &h=1553327 594cf71698 34cd3425e3 f06bc
I'm running CentOS 5.5.
If anyone has any suggestions, I would certainly appreciate them.
Thanks,
Jeff
I don't know how this happened, but I have an 85MB file I'm trying to remove, and regardless of what I try, I can't do it. The filename is: jdk-6u25-linux-i586.bin?e=
I'm running CentOS 5.5.
If anyone has any suggestions, I would certainly appreciate them.
Thanks,
Jeff
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Try
rm jdk-6u25-linux-i586.bin*
or
rm 'jdk-6u25-linux-i586.bin?e =131842607 8&h=155332 7594cf7169 834cd3425e 3f06bc'
or
ls -li jdk-6u25-linux-i586.bin*
Note the inodenumber from the first column, and use it in
find . -xdev -inum inodenumber -exec rm {} \;
rm jdk-6u25-linux-i586.bin*
or
rm 'jdk-6u25-linux-i586.bin?e
or
ls -li jdk-6u25-linux-i586.bin*
Note the inodenumber from the first column, and use it in
find . -xdev -inum inodenumber -exec rm {} \;
ASKER
woolmilkporc,
Thanks for the helpful information, and I appreciate the quiick response. Unfortunately ozo had already provided a solution before I saw this come in. But I will certainly document your techniques in my notes.
Thanks,
Jeff
Thanks for the helpful information, and I appreciate the quiick response. Unfortunately ozo had already provided a solution before I saw this come in. But I will certainly document your techniques in my notes.
Thanks,
Jeff
ASKER
Awesome, thanks a lot!
Jeff