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.
Answer
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.
Answer
?
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.
Answer
bc
^^ note bc stands for basic calculator
If you want to change selection, open document below and click on "Move attachment"
20. Advanced Shell Scripting 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
not learned
measured difficulty
37% [default]
last interval [days]
repetition number in this series
0
memorised on
scheduled repetition
scheduled repetition interval
last repetition or drill
Details
No repetitions
Discussion
Do you want to join discussion? Click here to log in or create user.