bash.academy
bash.academy copied to clipboard
^ not working as intended
Hi, I'm pretty new at this so pardon me if i'm a bit clumsy.
I was in the the Variables and Expansions section in Bash Academy when this exercise came up. Can someone explain why I'm getting the "bad substitution" output?
$ greeting="hello world" $ echo "$greeting" hello world $ echo "${greetingˆ}." -bash: ${greetingˆ}.: bad substitution $
Thanks for your help.
What version of bash are you using?


$ echo $BASH_VERSION 3.2.57(1)-release
I see. Thanks.