How to delete the following file

Neil C. Dumoran n_dumoran at fcb.mitsumi.co.jp
Tue Sep 12 00:02:33 UTC 2006


Hi,
Try creating directory and move the file inside directory.
Remove directory including the file by issuing:
# rm -rf <newdirectory>


Neil

-----Original Message-----
From: Padiyath Sreekumaran [mailto:kumar.padiyath at psi.ch] 
Sent: Monday, September 11, 2006 5:55 PM
To: redhat-list at redhat.com
Subject: How to delete the following file


  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 at psi.ch
AIT                      |   Office: WHGA/U132 
WHGA/U132                |   Fax: +41.56.310.3649
CH-5232 Villigen PSI     | 
Switzerland              |
-----------------------------------------------------------------







More information about the redhat-list mailing list