This question already has an answer here:
- meaning of -h in ls command 1 answer
For example :
$ ls -lha drwxr-xr-x 2 user group 4.0K Apr 2 21:49 . drwxr-xr-x 5 user group 4.0K Apr 2 21:49 .. -rw-r--r-- 1 user group 129M Apr 2 21:49 2018-04-02T21:49:08.981976.hdf5
So, this leaves me with 2 questions :
ls -lhadisplayed the size in MB or MiB?
- Is it consistent across Unix-based operating systems and their own versions over time?
N.B.: Not only commercial Unix-based operating systems should be considered for this question.