| |
Single vs. double quotes | page 11 of 11 |
Note that double quotes will work similarly to single quotes, but will still allow bash to do some limited
expansion. Therefore, single quotes are your best bet when you are truly interested in passing literal
text to a command. For more information on wildcard expansion,
type man 7 glob. For more information on quoting in bash, type man 8 glob
and read the section titled QUOTING. If you're planning to take the LPI exams, consider this
a homework assignment. :)
|