On Unix (Tru64), how to show file size in megabytes? This procudes sizes in bytes
ls -la
|
On Unix (Tru64), how to show file size in megabytes? This procudes sizes in bytes
| |||
|
feedback
|
This question came from our site for professional and enthusiast programmers.
|
Maybe
General advice: Use | |||||||||||||
feedback
|
|
You will have to use
This won't affect the output for files that are smaller than You may need to adjust the field number to match the way your This will print more decimal places than you probably want. You could implement a rounding function. | |||
|
feedback
|
|
maybe there is a | |||
|
feedback
|
|
Actually On a side node: | |||
|
feedback
|