echo with single quote, double quote and back quote
by RameshKumar[ Edit ] 2010-01-23 16:00:48
More about Quotes
There are three types of quotes
" i.e. Double Quotes
' i.e. Single quotes
` i.e. Back quote
1. "Double Quotes" - Anything enclose in double quotes removed meaning of that characters (except and $).
2. 'Single quotes' - Enclosed in single quotes remains unchanged.
3. `Back quote` - To execute command.
Example:
echo "hiox"
hiox
[localhost shl]$ echo 'hiox'
hiox
[localhost shl]$ echo `date`
Sat Jan 23 16:02:23 IST 2010