Linux – How to view the size of the binary files using linux command

fileslinuxsize;

I have the binary file csimu under the following path /data/local/tools/bin.

I checked the size of the binary file using du -sh csimu, but it shows size as 0. But I have binary contents inside the file.

How can I check the size of the binary file using linux command in the terminal?

Best Answer

Maybe this will work

 stat -c %s  /data/local/tools/bin/csimu
Related Question