How do I change the default for the "df" command in the Unix terminal from KILOBYTES TO MEGABYTES?

Posted by user1656014 on Super User See other posts from Super User or by user1656014
Published on 2012-09-08T01:50:03Z Indexed on 2012/09/08 3:40 UTC
Read the original article Hit count: 397

Filed under:

I can't really show the code in Unix, but I can explain it very clearly. In the terminal, when you type "df", you get information on the disk free space all in KILOBYTE units. KILOBYTES is currently set as the default in Unix. My problem is trying to change the default from KILOBYTES to MEGABYTES. After changing of the default, I should be able to type in "df" and all the disk free space should come up in MEGABYTES.

© Super User or respective owner

Related posts about unix