I want to display a string in Bash like this:
I'm a student
Of course you can do it like this:
echo "I'm a student"
But how can I accomplish this while using single quotes around the string?
bashescapinglinux
I want to display a string in Bash like this:
I'm a student
Of course you can do it like this:
echo "I'm a student"
But how can I accomplish this while using single quotes around the string?
Best Answer
does not work. But the following works:
From the man page of Bash: