>       df(1) is missing the standard options to display size units in
>       Megabytes or Gigabytes.

alias df_m="df | perl -e '<>; print ("Filesystem    1M-blocks       Used   
Available Capacity  Mounted on\n"); while ($i=<>) { $i =~ /^(.*?) +(\d+) +(\d+) 
+(\d+)(.*)/; printf ("%s % 13d % 10d % 
11d%s\n",$1,int($2/2048),int($3/2048),int($4/2048),$5); }'"

Reply via email to