2-Minute Linux Tips
Learn how to use a host of Linux commands in these 2-minute video tutorials from Sandra Henry-Stocker, author of the Unix as a Second Language blog.
Master Linux Math with the bc Command | Easy CLI Calculations Explained!
Overview
Learn how to use the powerful bc command in Linux to perform fast, accurate calculations right from the command line. In this Linux tip, Sandra Henry-Stockerโauthor of the Unix as a Second Language blogโwalks you through examples including addition, exponents, decimals, and setting scale for precision. Whether you're scripting or solving quick math problems, bc is a must-know tool for Linux users.
Examples covered:
Basic math with bc
Using exponents (10^2)
Decimal calculations
Controlling precision with scale




