While writing a shell script, you want to perform some arithmetic operations. Which of the following commands is used to create an integer variable? code example
Example: arithmetic operation in bash
#!/bin/bash
x=5
y=10
ans=$(( x + y ))
echo "$x + $y = $ans"