I thought there is no syntax for echo
keyword i.e we can use "
or '
or no quotes.
I tried all three types in bash shell
I got the error. Why it is happening?
{#Azar's first shell script
echo "Hi Azar, Welcome to the new world of technology for you"
echo 'default script bash'
echo keep going don't stop always}
error:
sh afs.sh
Hi Azar, Welcome to the new world of technology for you
default script bash
afs.sh: 6: afs.sh: Syntax error: Unterminated quoted string
echo
syntax, rather it'sbash
preprocessing line before execution.