You can use -h option for human readable values. (i assume the convertion of bytes to Megabytes, kilobytes etc is what you by human readable values, ) du -h --max-depth=1.
Comment for a very old post... Came across ur site while i was googling for something.
Comment
You can use -h option for human readable values. (i assume the convertion of bytes to Megabytes, kilobytes etc is what you by human readable values, )
du -h --max-depth=1.
Comment for a very old post... Came across ur site while i was googling for something.
- SS
Replies
also sort can take -h values with:
sort -h