Embed Quotes In A Shell Command Or String

This page answers questions like these:


Related Links:
Shell String Containing Spaces is Not Splitting
Bash String Manipulation
Shell (Bash/Bourne/Korn) Alias Taking Multiple Arguments



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
Bash String Manipulation
Shell (Bash/Bourne/Korn) Alias Taking Multiple Arguments

Home  >  Linux / Unix  >  Embed Quotes In A Shell Command Or String


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

Copyright © HelpDoco.com
shell-command-embed-quotes.txt
Linux-Unix/embed-quotes-in-shell-command-or-string.htm
1