💻 Software
ls-command: how to display the file size in megabytes?
Fresh7 days ago
Mar 15, 2026627517 viewsConfidence Score1%
1%
Problem
In Unix (Tru64), how do I make the command show the file size in megabytes? Currently I am able to show it in bytes using the following:
Error Output
ls -la
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: ls-command: how to display the file size in megabytes?
Low Risk
Maybe is sufficient for you: -h 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. General advice: Use to read the manual/help of a certain command, e.g. here .
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix