LEARN / GUIDE
Quotes and escaping
Single quotes preserve literal characters. Double quotes still allow variable and command substitution. Unquoted spaces separate arguments.
What to remember
A single quote cannot appear inside a single-quoted string. Close the string, add a quoted apostrophe, and open it again. COMMANDER serializes literal values using this rule.
An example to inspect
printf '%s\n' 'a path with spaces'printf '%s\n' 'it'"'"'s literal'Try the related tool ↗Examples target GNU/Linux and Bash. Read your locally installed manual before applying commands to important data.