How to check file size in solaris?

Hi All

I m having a file , path is /usr/Image/test

how i can get size of the "test" file?

is there any command for that?

if test is a file what happen if you give ls -lrt , the 5th column contains the size of file . if test is a directory then you can use du -s /test to get the size of directory

this is unix basic knowledge :wink:

ls -l /path/to/file
du -sk /path/to/file

Thanx to all for the answer