bash quoting

Updated: 31 December 2022

Single quotes

Single quoting is strong quoting, it preserves the literal value of each character

chris@ctd:~$ echo 'My home dir is $HOME'
My home dir is $HOME

Leave a comment