0

Output of ls -lh:

total 228K
-rw-rw-r--. 1 xyz xyz 226K Nov 13 19:42 image-3309091885.jpg

Output of ls -sh:

total 228K
228K image-3309091885.jpg

Is the file size 226K or 228K? I am honestly confused and what is meant by "total"?

What does K mean? Kilobyte or Kibibyte?

  • 1
    In general the online documentation will tell you what the flags mean. See `man ls` and search for `-s` and `-h` (for `-h` see the adjacent `--si`). – roaima Nov 13 '22 at 16:17

0 Answers0