Want to perform quick math right from your Linux terminal? In this Linux tip, Sandra Henry-Stocker (author of the Unix as a Second Language blog on NetworkWorld) breaks down the expr command—a powerful way to do basic arithmetic like addition, subtraction, multiplication, and division in your command line.
You’ll learn how to:
Run math operations using expr
Save results into variables
Understand operator precedence (order of operations)
Perfect for beginners and seasoned Linux users alike!
🔔 Subscribe to InfoWorld for more Linux tips: / @infoworld
💬 Got questions or topic suggestions? Drop them in the comments below.
👍 Like and share this video to help fellow Linux enthusiasts!
--------------------------------
SUBSCRIBE: https://www.youtube.com/subscription_...
TWITTER: / infoworld
WEBSITE: https://www.infoworld.com/