Skip to content

Commit

Permalink
differences for PR #1434
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Aug 14, 2023
1 parent 2fd0c8e commit 1e221d7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions 02-filedir.md
Original file line number Diff line number Diff line change
Expand Up @@ -663,13 +663,13 @@ Run `cd -` again and you're back in `~/Desktop/shell-lesson-data/exercise-data/c

## Absolute vs Relative Paths

Starting from `/Users/amanda/data`,
which of the following commands could Amanda use to navigate to her home directory,
which is `/Users/amanda`?
Starting from `/Users/nelle/data`,
which of the following commands could Nelle use to navigate to her home directory,
which is `/Users/nelle`?

1. `cd .`
2. `cd /`
3. `cd /home/amanda`
3. `cd /home/nelle`
4. `cd ../..`
5. `cd ~`
6. `cd home`
Expand All @@ -683,9 +683,9 @@ which is `/Users/amanda`?

1. No: `.` stands for the current directory.
2. No: `/` stands for the root directory.
3. No: Amanda's home directory is `/Users/amanda`.
3. No: Nelle's home directory is `/Users/nelle`.
4. No: this command goes up two levels, i.e. ends in `/Users`.
5. Yes: `~` stands for the user's home directory, in this case `/Users/amanda`.
5. Yes: `~` stands for the user's home directory, in this case `/Users/nelle`.
6. No: this command would navigate into a directory `home` in the current directory
if it exists.
7. Yes: unnecessarily complicated, but correct.
Expand Down
2 changes: 1 addition & 1 deletion md5sum.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"config.yaml" "7e947da357206469f1a2c8a159290d19" "site/built/config.yaml" "2023-05-02"
"index.md" "b40a8b40c0ac29c17dd1ee7f402b62e4" "site/built/index.md" "2023-05-02"
"episodes/01-intro.md" "f9424965b4e7855f0e569be741c5e88e" "site/built/01-intro.md" "2023-06-09"
"episodes/02-filedir.md" "015bfa1baa9b5bfb919f13e809876073" "site/built/02-filedir.md" "2023-07-26"
"episodes/02-filedir.md" "84f20e8590a441757d680a2227966491" "site/built/02-filedir.md" "2023-08-14"
"episodes/03-create.md" "3e03cf7174ebce6b5574e3d7abce8c00" "site/built/03-create.md" "2023-07-31"
"episodes/04-pipefilter.md" "8f1f5df56fb9ed60db6f33a9793664d5" "site/built/04-pipefilter.md" "2023-07-19"
"episodes/05-loop.md" "7712aa4b92c524609e9e2c3d1f888ee4" "site/built/05-loop.md" "2023-08-09"
Expand Down

0 comments on commit 1e221d7

Please sign in to comment.