![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Weird Ascii characters in file names | yamsin789 | Shell Programming and Scripting | 2 | 10-07-2007 11:27 AM |
| how to delete record in file data with index in another file? | zhynxn | Shell Programming and Scripting | 0 | 07-06-2006 01:03 AM |
| i want to delete a file based on existing file in a directory | srivsn | Shell Programming and Scripting | 3 | 04-11-2006 05:38 AM |
| Weird File | rahulrathod | UNIX for Dummies Questions & Answers | 5 | 01-20-2006 10:28 AM |
| Get file from source server and delete the ftp file | lweegp | Shell Programming and Scripting | 3 | 10-17-2005 03:53 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
How to delete a weird file name
Hi,
How do I delete a file name that starts with a hypen? e.g. -unix_file_2006_10_3 I always get an erroe when I use rm command. I am using Solaris. Thanks, Hi, One of the Unix books I read to remove this weird file suggest to use: "rm ./-unix_file_2006_10_3" which I did today and file went away. According to the book the "./" just say " in this directory" that is all it does -without it Unix thinks that the dash is an option of some unix commands that was erroneuosly entered. Thanks you all for responding. Last edited by XZOR; 10-06-2006 at 02:33 PM.. |
![]() |
| Bookmarks |
| Tags |
| unix commands |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|