dcsimg
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)

WEBINAR:
On-Demand

How to Help Your Business Become an AI Early Adopter


"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:


×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.