ls-command: how to display the file size?

Submitted by admin on Thu, 08/04/2016 - 21:51

ls-command: how to display the file size?

ls -lah

-l use a long listing format

-a, --all do not hide entries starting with.

-h --human-readable
When used with the -l option, use unit suffixes: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the number of digits to three or less using base 2 for sizes.

 

ls