Skip to content

Commit 8defae5

Browse files
committed
differences for PR #1480
1 parent 6f1079e commit 8defae5

File tree

3 files changed

+38
-19
lines changed

3 files changed

+38
-19
lines changed

02-filedir.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,42 @@ Note that if a directory named `Desktop` does not exist in your current working
405405
this command will return an error. Typically, a `Desktop` directory exists in your
406406
home directory, which we assume is the current working directory of your bash shell.
407407

408+
:::::::::::::: callout
409+
410+
### OneDrive Variations
411+
412+
If a Windows machine is backed up with OneDrive, your Desktop may
413+
have been moved within OneDrive and you will get an error when you try `ls -F Desktop`.
414+
415+
To check if this is true for you, run the command `ls` and look through the output for a folder that has "OneDrive" in the name and note that folder name. It will likely include the name of your organization in it. It may be something like `OneDrive - University of Example`.
416+
417+
If you don't see a "OneDrive" folder, you may not be in your home folder or there may be another issue going on. To check you are in your home folder, type `pwd` and it should show something like `C:/Users/Username` or `/c/Users/Username`.
418+
419+
If you do see the "OneDrive" folder, going forward whenever the lesson or instructor uses the `Desktop` folder, you will need to include the OneDrive folder as well. For example if the instructor types...
420+
421+
``` bash
422+
ls -F Desktop
423+
```
424+
425+
You will need to type:
426+
427+
```bash
428+
ls -F "OneDrive - Name Of Enterprise/Desktop"
429+
```
430+
Note: The quotation marks are needed for this folder because the Unix shell interprets spaces to be meaningful separators between files/commands/options but this folder has spaces in the name.
431+
432+
::: instructor
433+
434+
One way to spot if the computer is using this kind of configuration with OneDrive is to look at files,
435+
folders or links on the desktop. Usually the icon contains a shortcut/arrow symbol if it
436+
is a link, or just the plain icon if the file is just saved in the `Desktop` folder.
437+
Files synced with OneDrive contain an additional symbol indicating the sync status
438+
(typically blue arrows for 'sync pending' or a green tick for 'synced').
439+
440+
::::::::::::::
441+
442+
::::::::::::::::::::::
443+
408444
Your output should be a list of all the files and sub-directories in your
409445
Desktop directory, including the `shell-lesson-data` directory you downloaded at
410446
the [setup for this lesson](../learners/setup.md). (On most systems, the

instructor-notes.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -221,23 +221,6 @@ as long as learners using Windows do not run into roadblocks such as:
221221
so that they can find it easily
222222
and watch it evolve.
223223

224-
- If a Windows machine is backed up with enterprise OneDrive, their GUI desktop may
225-
be rendered from a folder within OneDrive, which will not match the contents of `~/Desktop`.
226-
The OneDrive desktop should be accessible using one of the following commands
227-
(if the name of the enterprise isn't clear, look through the output of `ls` to find
228-
the right folder):
229-
230-
```bash
231-
$ cd "~/OneDrive - Name Of Enterprise/Desktop"
232-
$ cd "C:/Users/Username/OneDrive - Name Of Enterprise/Desktop"
233-
```
234-
235-
One way to spot if the computer is using this kind of configuration is to look at files,
236-
folders or links on the desktop. Usually the icon contains a shortcut/arrow symbol if it
237-
is a link, or just the plain icon if the file is just saved in the `Desktop` folder.
238-
Files synced with OneDrive contain an additional symbol indicating the sync status
239-
(typically blue arrows for 'sync pending' or a green tick for 'synced').
240-
241224
- Stay within POSIX-compliant commands, as all the teaching materials do.
242225
Your particular shell may have extensions beyond POSIX that are not available
243226
on other machines, especially the default macOS bash and Windows bash emulators.

md5sum.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"config.yaml" "7e947da357206469f1a2c8a159290d19" "site/built/config.yaml" "2023-05-02"
55
"index.md" "b40a8b40c0ac29c17dd1ee7f402b62e4" "site/built/index.md" "2023-05-02"
66
"episodes/01-intro.md" "f9424965b4e7855f0e569be741c5e88e" "site/built/01-intro.md" "2023-06-09"
7-
"episodes/02-filedir.md" "14a1c573a9731344ede0c6ff854d953b" "site/built/02-filedir.md" "2024-07-24"
7+
"episodes/02-filedir.md" "7e0261cf9de46663002da638848562d4" "site/built/02-filedir.md" "2025-02-06"
88
"episodes/03-create.md" "cda7949aecf6bfe600e559f27319cc71" "site/built/03-create.md" "2024-03-08"
99
"episodes/04-pipefilter.md" "e1c92193a59ec25ad054078348391b5d" "site/built/04-pipefilter.md" "2024-09-26"
1010
"episodes/05-loop.md" "7ea3b6c5e96b1cd2ddeb0b176c1b4be1" "site/built/05-loop.md" "2024-09-26"
1111
"episodes/06-script.md" "166572403e3b5f1c314ce7c52babb7b5" "site/built/06-script.md" "2023-08-05"
1212
"episodes/07-find.md" "b2c592366ea5a5c9a654ba13ec5765d1" "site/built/07-find.md" "2023-11-09"
13-
"instructors/instructor-notes.md" "5db2f86826be7c6bba6157eb15a8a881" "site/built/instructor-notes.md" "2023-06-18"
13+
"instructors/instructor-notes.md" "04b9a2c672bbbbce17eb0105b5677456" "site/built/instructor-notes.md" "2025-02-06"
1414
"learners/discuss.md" "e3a807a008ea41b21938c026470d4ca3" "site/built/discuss.md" "2023-05-02"
1515
"learners/reference.md" "6f8b578b8d91ca4abf2585db9c1910a4" "site/built/reference.md" "2023-07-23"
1616
"learners/setup.md" "2b8710e384ecf107d929e751e7e4f4c6" "site/built/setup.md" "2023-07-26"

0 commit comments

Comments
 (0)