Multiple choice technology architecture

What’s the purpose of bc command in Unix?

  1. Provides an interpreter for arbitrary-precision arithmetic language.

  2. Finds lines in files that match a pattern and performs specified actions on those lines.

  3. Searches a file for a pattern.

  4. Evaluates arguments as expressions.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The bc command is an arbitrary-precision arithmetic language that provides calculator-like functionality in Unix. Option A correctly describes bc as an interpreter for arbitrary-precision arithmetic. Options B and C describe grep functionality, while D describes the expr command.