I am writing a bash script for fibonacci which is not printing the value after 0 1 1 . It is not printing \"2\" after 0 1 1. The code is given below.
echo \"ent
In bash, do not use the dollar sign on the left hand side of an assignment.
$c=$a+$b
should be
c=$a+$b
but it probably still does not do what you want, try
c=$((a+b))
instead.