Linux Today: Linux News On Internet Time.

More on LinuxToday

Bash Quoting

Aug 27, 2009, 18:32 (2 Talkback[s])
(Other stories by Mitch Frazier)


Re-Imagining Linux Platforms to Meet the Needs of Cloud Service Providers

"he basics of quoting are simple, use single or double quotes when a value contains spaces:

a="hello world"
a='hello world'

"But single and double quotes are different. Single quotes don't support any kind of variable substitution or escaping of special characters inside the quoted string. Double quotes, on the other hand, support both:"

Complete Story

Related Stories: