quoting
Bash Single quotes
Preserves enclosed characters literally; a single quote cannot occur inside a single-quoted region.
Formal Syntax & Structure
bash syntaxbash
'literal text'Return Value
behavior
See the syntax and description for shell interpretation or output.
Working Example
Example Snippetbash
name='Sara'printf '%s\n' '$name' "$name"