![]() |
|
|
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 |
| Checking for a file in file pattern before deleting it | dsrookie | UNIX for Dummies Questions & Answers | 1 | 05-09-2008 05:29 PM |
| Deleting lines inside a file without opening the file | toms | Shell Programming and Scripting | 3 | 09-24-2007 08:58 AM |
| Remove the contents of a file without deleting the file | sumesh.abraham | Shell Programming and Scripting | 10 | 12-02-2006 05:35 PM |
| Deleting a file I don't own | kumachan | UNIX for Dummies Questions & Answers | 5 | 09-19-2003 11:50 AM |
| Deleting log file | s_aamir | UNIX for Advanced & Expert Users | 5 | 01-07-2002 11:05 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
deleting file that isn't really there
sorry about the title -
I have a directory where a file is showing with ls or ls -l but if I try to reference it - I get the message that it isn't there. It is as if the directory structure isn't matching the actual content. Right now, I have two files of same name showing in the directory - one real, one this other situation - if I rename the real one - then any attempt to work with the other one is "file not found". it happens to be in /var/adm/cron with the file queuedefs -r--r--r-- 1 bin bin 51 Mar 26 2004 .proto prw------- 1 root root 0 Jul 5 10:32 FIFO -rw-r--r-- 1 root root 187087 Jul 5 12:15 OLDlog -r--r--r-- 1 root sys 18 Apr 25 16:13 at.allow.orig -rw-rw-rw- 1 root sys 0 Apr 25 16:13 at.deny -r--r--r-- 1 bin bin 18 Apr 25 16:10 cron.allow -rw-r--r-- 1 root root 2833 Jul 5 14:45 log -rw-r--r-- 1 root sys 207 Apr 19 09:41 queuedefs -rw-rw-r-- 1 root sys 207 May 2 10:00 queuedefs How do I clean this up? Lisa HP-UX 11.23 i64 |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|