Skip to content

Commit

Permalink
Merge pull request #252 from LibraryCarpentry/closed-pre-wb
Browse files Browse the repository at this point in the history
Changes from pre-workbench
  • Loading branch information
kaitlinnewson committed Nov 29, 2023
2 parents 4713c8f + 38fa7b6 commit 3284ca1
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions episodes/02-navigating-the-filesystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions episodes/03-working-with-files-and-folders.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion episodes/05-counting-mining.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions instructors/instructor-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 3284ca1

Please sign in to comment.