From 465a26d19834eb9283692ce57535a8b2a0851bb5 Mon Sep 17 00:00:00 2001 From: "G. Matthew Fricke" Date: Thu, 18 May 2023 22:51:24 -0600 Subject: [PATCH 1/2] Update 02-filedir.md I noticed that later there are references to the filesystem tree with no explanation of why we should think of this as a tree. There are also references to the root directory. I added a very brief explanation that will hopefully take out part of the mystery for people new to the shell. --- episodes/02-filedir.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/episodes/02-filedir.md b/episodes/02-filedir.md index dc2f4d8ee..7403eb69f 100644 --- a/episodes/02-filedir.md +++ b/episodes/02-filedir.md @@ -83,7 +83,7 @@ On Nelle's computer, the filesystem looks like this: ![](fig/filesystem.svg){alt='The file system is made up of a root directory that contains sub-directoriestitled bin, data, users, and tmp'} -At the top is the **root directory** +Notice how the filesystem looks like an upside down tree. Later in the lessons you will see references to the filesystem "tree". Continuing with the tree analogy the topmost directory is the **root directory** (remember the tree is upside down so the root is at the top) that holds everything else. We refer to it using a slash character, `/`, on its own; this character is the leading slash in `/Users/nelle`. From 99186a679daf54350cfa10fd41c791c258e3e580 Mon Sep 17 00:00:00 2001 From: Benson Muite Date: Sun, 18 Jun 2023 09:44:10 +0300 Subject: [PATCH 2/2] Shorten explanation Lesson is quite long already. --- episodes/02-filedir.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/episodes/02-filedir.md b/episodes/02-filedir.md index 7403eb69f..8a0dd2adf 100644 --- a/episodes/02-filedir.md +++ b/episodes/02-filedir.md @@ -83,7 +83,8 @@ On Nelle's computer, the filesystem looks like this: ![](fig/filesystem.svg){alt='The file system is made up of a root directory that contains sub-directoriestitled bin, data, users, and tmp'} -Notice how the filesystem looks like an upside down tree. Later in the lessons you will see references to the filesystem "tree". Continuing with the tree analogy the topmost directory is the **root directory** (remember the tree is upside down so the root is at the top) +The filesystem looks like an upside down tree. +The topmost directory is the **root directory** that holds everything else. We refer to it using a slash character, `/`, on its own; this character is the leading slash in `/Users/nelle`.