Question
In linux, for simple math operations (addition, multiplications, etc) you can use the expr command, but for complex math operations, like base conversion, finding cosine, etc, you use the [...] command.

bc

^^ note bc stands for basic calculator

Question
In linux, for simple math operations (addition, multiplications, etc) you can use the expr command, but for complex math operations, like base conversion, finding cosine, etc, you use the [...] command.
?

Question
In linux, for simple math operations (addition, multiplications, etc) you can use the expr command, but for complex math operations, like base conversion, finding cosine, etc, you use the [...] command.

bc

^^ note bc stands for basic calculator

If you want to change selection, open document below and click on "Move attachment"

UID values greater than 499 on RedHat and greater than 999 on Debian): awk -F: '$3 >= 500 {print$1}' /etc/passwd ( awk -F: '$3 >= 1000 {print$1}' /etc/passwd ) 20.7.8 Calculations with <span>bc Scripts can easily use bc to do calculations that expr can't handle. For example, convert to decimal with echo -e 'ibase=16;FFFF' | bc to binary with echo -e 'obase=2;12345' | bc or wor

#### Summary

status measured difficulty not learned 37% [default] 0

No repetitions