1834187 Members
2986 Online
110064 Solutions
New Discussion

how to del the file

 
SOLVED
Go to solution
Asif_8
Regular Advisor

how to del the file

Hi!
At my root filesystem / I try to del but I can not del this file

-rw------- 1 root root 103587840 Mar 26 \dpdata\IDB1

I get this message rm:dpdataIDB1 non-existent
3 REPLIES 3
RAC_1
Honored Contributor
Solution

Re: how to del the file

rm -i *dpdata* will do that.

The file has special characters in it's name.
ls -b, ll|cat -v will show that.

Anil
There is no substitute to HARDWORK
Nicolas Dumeige
Esteemed Contributor

Re: how to del the file

use ls -b to see any control caractere in the filename

"with caution" You can try /bin/rm -i * , rm will prompt for confirmation before actually doing the deletion.

You can protect the name between simple quote ' ; it could be the problem with a file with the slash caracter.

You can use emacs ...

There are planty of solution
All different, all Unix
Sathish C
Frequent Advisor

Re: how to del the file

Hi
Not sure if you have got what you wanted , anyway

you can do a ls-q to see what other hidden characters are there with the file name ,
i would normally do the following

rm -i ./** ( you can type the first few leter and Esc Key too.
Some cause happiness wherever they go; others, whenever they go