This page is READ-ONLY. It is generated from the old site.
All timestamps are relative to 2013 (when this page is generated).
If you are looking for TeX support, please go to VietTUG.org

du vs. ls

weird!
Added by ruby 11 months ago  »  Votes: 2/2

du reports "zero" file, while "ls -ltr" reports the file is huge

1 $ du -hs production.log 
2 0       production.log
3 
4 $ ls -ltr
5 total 7
6 -rw-r--r-- 1 xxx xxx       36 2012-03-05 03:10 delete.me
7 -rw-r--r-- 1 xxx xxx     6327 2012-04-08 15:46 thin.log
8 -rw-r--r-- 1 xxx xxx 11800032 2012-05-02 08:31 production.log

What're happened?


Comments