[Rule-list] detecting hard drive space

hairylarry at deltaboogie.com hairylarry at deltaboogie.com
Tue Apr 9 00:17:36 EEST 2002


Devon,

Ok, I have isolated the three factors from the lines starting with Disk 
and Units. If I multiply them together it should give me bytes.

How do I get the fdisk piped output into a shell variable so we can do 
the multiplication and come up with a figure?

Thanks,

Hairy Larry

_______________________________________________
Rule Project HOME PAGE:  http://www.freesoftware.fsf.org/rule/
Rule Development Site:   http://savannah.gnu.org/projects/rule/
Rule-list at mail.freesoftware.fsf.org
http://mail.freesoftware.fsf.org/mailman/listinfo/rule-list



More information about the Rule-list mailing list