backslash
within double quotes $ ` ' * and <new line> are treated as normal; a backslash followed by anything else is not as special.
$ echo "$HOME\&"
/home/ubuntu2\&
$ echo $HOME\&
/home/ubuntu2&
$ echo "$HOME\&"
/home/ubuntu2\&
$ echo $HOME\&
/home/ubuntu2&
Comments
Post a Comment