From 38fa7b69b0a30994fd111fac4426de5512126fa8 Mon Sep 17 00:00:00 2001 From: Kaitlin Newson Date: Wed, 29 Nov 2023 11:34:37 -0400 Subject: [PATCH] minor edits from pre-workbench --- episodes/02-navigating-the-filesystem.md | 6 +++--- episodes/03-working-with-files-and-folders.md | 3 +-- episodes/05-counting-mining.md | 2 +- instructors/instructor-notes.md | 2 ++ 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/episodes/02-navigating-the-filesystem.md b/episodes/02-navigating-the-filesystem.md index b899a6b3..a6865823 100644 --- a/episodes/02-navigating-the-filesystem.md +++ b/episodes/02-navigating-the-filesystem.md @@ -81,10 +81,10 @@ drwx------+ 3 riley staff 102 Jul 16 11:30 Pictures drwxr-xr-x+ 5 riley staff 170 Jul 16 11:30 Public ``` -In everyday usage we are more used to units of measurement like kilobytes, megabytes, and gigabytes. -Luckily, there's another flag `-h` that when used with the -l option, use unit suffixes: +In everyday usage we are more accustomed to units of measurement like kilobytes, megabytes, and gigabytes. +Luckily, there's another flag `-h` that when used with the -l option, prints unit suffixes: Byte, Kilobyte, Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the -number of digits to three or less using base 2 for sizes. +number of digits to three or fewer using base 2 for sizes. Now `ls -h` won't work on its own. When we want to combine two flags, we can just run them together. So, by typing `ls -lh` and pressing diff --git a/episodes/03-working-with-files-and-folders.md b/episodes/03-working-with-files-and-folders.md index d9523cc3..ca802d95 100644 --- a/episodes/03-working-with-files-and-folders.md +++ b/episodes/03-working-with-files-and-folders.md @@ -30,8 +30,7 @@ documents (Word or OpenOffice), browsing the web, editing images, etc. But if we wanted to make the same crop on hundreds of images, say, the pages of a scanned book, then we could automate that cropping work by using shell commands. -Before getting started, we will use `ls` to verify where we are. Using `ls` periodically -to view your options is useful to orient oneself. +Before getting started, we will use `ls` to list the contents of our current directory. Using `ls` periodically to view your options is useful to orient oneself. ```bash $ ls diff --git a/episodes/05-counting-mining.md b/episodes/05-counting-mining.md index d97a7f2b..84032081 100644 --- a/episodes/05-counting-mining.md +++ b/episodes/05-counting-mining.md @@ -849,7 +849,7 @@ We will now use a loop to automate the counting of certain words within a docume $ mv pg514.txt littlewomen.txt ``` -This renames the file to something easier to type. +This renames the file to something easier to remember. Now let's create our loop. In the loop, we will ask the computer to go through the text, looking for each girl's name, and count the number of times it appears. The results will print to the screen. diff --git a/instructors/instructor-notes.md b/instructors/instructor-notes.md index 6af03024..bb45f735 100644 --- a/instructors/instructor-notes.md +++ b/instructors/instructor-notes.md @@ -253,6 +253,8 @@ And please also make use of our [Software Carpentry Windows Installer][windows-i Have them create the example directory for the shell exercises there so that they can find it easily and watch it evolve. + - On Windows, Microsoft OneDrive may appear in the home directory list. Desktop is often found inside the OneDrive directory. + *** [shebang]: https://www.in-ulm.de/~mascheck/various/shebang/