Linux: Convert Gigabyte into Blocks November 2, 2009June 21, 2013 Christian Leave a comment I just googled again for a Gigabyte to Blocks converter when I stumbled upon this: echo "(15*1024*1024*1024)/512" | bc 1 echo "(15*1024*1024*1024)/512" | bc Easy to use and yet handy.