Embed Quotes in a Shell Command or String

This page answers questions like these:

Embed Quotes in a Shell Command or String:

echo "Single quote ' in double quotes."  ->  Single quote ' in double quotes. echo 'Double quote " in single quotes.'  ->  Double quote " in single quotes. echo 'Single quote '"'"' in single quotes.'  ->  Single quote ' in single quotes. echo "Double quote "'"'" in double quotes."  ->  Double quote " in double quotes.



Related Links:
Shell String Containing Spaces is Not Splitting
Shell Alias Taking Multiple Arguments

Home  >  Linux / Unix  >  Embed Quotes in a Shell Command or String


Tags: embed, quotes, single quote, double quote, single quotes, double quotes, shell, command, string, linux, unix

Src: shell-command-embed-quotes.txt
Dst: Linux-Unix/embed-quotes-in-shell-command-or-string.htm
Ads: 2