using ls to display size of files
ls -s displays the size of a file in blocks...
A file A with 12072 blocks (ls -s), in Nautilus is 12343489 bytes...
This would mean the block size is: 1022.489148442677269715043074884 bytes
1772 blocks in ls
nautilus reports it to have 1807751 bytes
Block size: 1020.175507900677200902934537246 bytes
So I can say nautilus reports the actual file size, and ls -s the actual disk usage, right?
now, is there a way of getting the same size being reported by nautilus with ls? it would be quite handy.
Re: using ls to display size of files
ls -l or if you want the human readable: ls -lh