[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ls showing deleted file, sorta
From: |
Tyler Mitchell |
Subject: |
ls showing deleted file, sorta |
Date: |
Wed, 28 Apr 2004 14:17:42 -0700 |
I delete a log file like:
$ rm /var/log/postmaster.log
Then do:
$ ls /var/log
lastlog postmaster.log setup.log setup.log.full sshd.log
It still shows there, so I check again using:
$ ls /var/log -l
ls: /var/log/postmaster.log: No such file or directory
total 365
-rwxrwxrwx+ 1 Administ Domain A 3144744 Apr 28 09:34 lastlog
-rwxrwxrwx+ 1 Administ Domain A 94443 Apr 27 15:13 setup.log
-rwxrwxrwx+ 1 Administ Domain A 211575 Apr 27 15:13 setup.log.full
-rwxrwxrwx+ 1 SYSTEM Administ 141 Nov 22 11:55 sshd.log
And it's gone! Hmmm...was it just a timing questions?
$ ls /var/log
lastlog postmaster.log setup.log setup.log.full sshd.log
Nope, still shows up when doing a wide listing but not a long listing.
Hope this helps improve the product. This is Cygwin, Windows 2000.
Tyler
- ls showing deleted file, sorta,
Tyler Mitchell <=