How do I find the size of a file in Linux?

How do I find the size of a file in Linux?
Answer
Use ls -s to list file size, or if you prefer ls -sh for human readable sizes. For directories use du , and again, du -h for human readable sizes.
 

Tìm kiếm

Back
Top