bc

RSS
  • Unix Tip: More on bc

    Posted March 20, 2008 - 10:25 am

    The bc utility is not just acommand line tool. You can also write numerically intensive scripts in bc. The tool incorporates enough syntax to assign values to variables, write and call functions, collect responses from users and print annotated results.
  • Unix Tip: Using bc for big calculations

    Posted March 12, 2008 - 6:44 pm

    For sysadmins who want to perform simple calculations on the command line, there's a considerably more useful tool than expr. Try bc. Like expr, the bc command allows you to do simple math.
Ask a Question