Open main menu

CDOT Wiki β

Changes

OPS245 Scripting Exercises dev

260 bytes added, 00:26, 15 January 2023
Quotes
Note: The space in both examples after the : is not required. It does however, make your prompt easier to read.
== Quotes ==
=== Bash single vs double quotes ===
In Bash, single quotes suppress shell expansion; meaning variables and commands do not get expanded to their contents. Double quotes allow shell expansion.
* Why use === Python single or vs double quotes===* The In Python, there is no difference between single and double quotes* Backquotes. Both allow variable expansion. You can use whichever you prefer.
== Redirecting output ==