Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changes from pre-workbench #252

Merged
merged 1 commit into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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