hello all
i know now how to check the size of the hard disk

fdisk -l | grep -m 1 Disk

but how do i make a variable from that ?

i want to determin what is the size of the hard disk -
so i can point to the right script who will split the partitions .

somthing like :
if $HardDrive > 80 then (run scrript 80GBsplit ) ..

i dont know how to write the "if"

thank you very much for helping !!

mav.