Math
Math
Arithmetic Expansion in Bash (Operators: +, -, *, /, %, etc)
Print out the prime factors of a number (e.g. 50)
Sum up input list (e.g. seq 10)
Sum up a file (each line in file contains only one number)
Column subtraction
Simple math with expr
More math with bc
Last updated