On Fri, Dec 30, 2005 at 07:42:03PM +0000, Dinesh Joshi wrote: >On Friday 30 December 2005 13:04, [EMAIL PROTECTED] wrote: >> Hello, >> du of lastlog reports 120K size ls of lastlog reports 38M [EMAIL PROTECTED] >> root]# du -sh /var/log/lastlog 120K /var/log/lastlog [EMAIL PROTECTED] >> root]# ls -lah /var/log/lastlog -rw-r--r-- 1 root root 38M Dec 30 >> 13:30 /var/log/lastlog >> >> Why du and ls reporting differnt size of the same file?
>Experts, please clarify! du operates on blocks. du -b gives the right size in bytes. -- Satya. http://www.thesatya.com/ 2 + 2 = 5 for extremely large values of 2. -- http://mm.ilug-bom.org.in/mailman/listinfo/linuxers

