From 6569f5710303a25da4d610f91a87f8bec53b6e88 Mon Sep 17 00:00:00 2001 From: GentleInfant <123903177+GentleInfant@users.noreply.github.com> Date: Thu, 8 Jun 2023 14:08:07 +1200 Subject: [PATCH] changing quotes to single quotes When dealing with special characters the lesson advises to use quotes, however single quotes is the safer option. For example ``` touch \$HOME ls "$HOME" # lists the contents of the home directory ls '$HOME' # lists the '$HOME' file ``` --- episodes/03-create.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/episodes/03-create.md b/episodes/03-create.md index ac0eb0864..c1b568354 100644 --- a/episodes/03-create.md +++ b/episodes/03-create.md @@ -146,7 +146,7 @@ There are special characters that can cause your command to not work as expected and can even result in data loss. If you need to refer to names of files or directories that have spaces -or other special characters, you should surround the name in quotes (`""`). +or other special characters, you should surround the name in single quotes (`''`). ::::::::::::::::::::::::::::::::::::::::::::::::::