I have a variable x=7 and I want to echo it plus one, like echo ($x+1) but I\'m getting:
x=7
echo ($x+1)
bash: syntax error near unexpected
echo $((x+1)) also same result as echo $(($x+1))