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

Đăng Khánh

New member
How do I check 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