I’m currently using the linuxhandbook course to get me started with bash scripting.
and i stumbled upon this (picture provided) where example one dont work when echoing $area, but the second example do work.
All I want is to understand exactly why example 2 works and example 1 dont.
Thanks!
I have not tried much, just want to understand it.
New contributor
Patrick Pettersen Lintho is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.