Re: How to delete the following file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I was able to recreate your file name and remove it as follows:

(one single line each)

Create:

touch '\-l `cap_to_path 0x34c23d0b 0x00008e9f 0x30298894 0xd1e6f358
0x030d8181 0x700400f9 0x0d818119 0x0006ff03`'

Delete:
rm '\-l `cap_to_path 0x34c23d0b 0x00008e9f 0x30298894 0xd1e6f358
0x030d8181 0x700400f9 0x0d818119 0x0006ff03`'

--Cal Webster

On Mon, 2006-09-11 at 05:54, Padiyath Sreekumaran wrote:
>   Hello,
>    By mistake I have created a file with the following name.
>    How can I delete the file? I tried different ways as given below
> without
>    Success. This is a RedHat 3.0 installation.
> 
>   #ls gives the following
> 
>    -l `cap_to_path 0x34c23d0b 0x00008e9f 0x30298894 0xd1e6f358
> 0x030d8181 0x700400f9 0x0d818119 0x0006ff03`
> 
> # rm -l\ \`cap_to_path\ 0x34c23d0b\ 0x00008e9f\ 0x30298894\ 0xd1e6f358\
> 0x030d8181\ 0x700400f9\ 0x0d818119\ 0x0006ff03\`
> rm: invalid option -- l
> Try `rm --help' for more information.
> 
>  #ls -l directoryname  shows the following output
> -rw-r--r--    1 root     root       135168 Aug 24 14:10 -l `cap_to_path
> 0x34c23d0b 0x00008e9f 0x30298894 0xd1e6f358 0x030d8181 0x700400f9
> 0x0d818119 0x0006ff03`
> 
> # rm "-l \`cap_to_path 0x34c23d0b 0x00008e9f 0x30298894 0xd1e6f358
> 0x030d8181 0x700400f9 0x0d818119 0x0006ff03\`"
> rm: invalid option -- l
> Try `rm --help' for more information.
> 
>   Thanks in advance,
>     Kumar
> 
> 
>  ------------------------------------------------------------------
> Padiyath Sreekumar       |   Tel: +41.56.310.3643
> Paul Scherrer Institut   |   email: kumar.padiyath@xxxxxx
> AIT                      |   Office: WHGA/U132 
> WHGA/U132                |   Fax: +41.56.310.3649
> CH-5232 Villigen PSI     | 
> Switzerland              |
> -----------------------------------------------------------------
> 

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux