Question #7000
Submitted by

**Answiki**on 10/22/2022 at 06:46:41 PM UTC# How to calculate a square root with bash?

Merged questions

Answer
Submitted by

**Answiki**on 10/22/2022 at 06:47:20 PM UTCThe following command calculate the square root of a given number in command line:

```
bc -l <<<"(sqrt(15))"
3.87298334620741688517
```

Answer by

**Answiki**on 10/22/2022 at 06:47:20 PMThe following command calculate the square root of a given number in command line:

```
bc -l <<<"(sqrt(15))"
3.87298334620741688517
```

Question by

**Answiki**10/22/2022 at 06:46:41 PM
How to calculate a square root with bash?

# | ID | Query | URL | Count |
---|

Icons proudly provided by Friconix.