Skip to content

Commit 4cf803a

Browse files
authored
Merge pull request #330 from martinosorb/gh-pages
Minor changes and typos
2 parents 6c75d0a + 7170bfb commit 4cf803a

File tree

3 files changed

+20
-15
lines changed

3 files changed

+20
-15
lines changed

_episodes/01-introduction.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,16 @@ In this lesson you will learn how to use the command line interface to move arou
4949
## How to access the shell
5050

5151
On a Mac or Linux machine, you can access a shell through a program called "Terminal", which is already available
52-
on your computer. The Terminal is a window into which we will type commands. If you're using Windows, you'll need to download a separate program to access the shell.
52+
on your computer. The Terminal is a window into which we will type commands. If you're using Windows,
53+
you'll need to download a separate program to access the shell.
5354

54-
To save time, we are going to be working on a remote server where all the necessary data and software available. When we say a 'remote sever', we are talking about a computer that is not the one you are working on right now. You will access the Carpentries remote server where everything is prepared for the lesson.
55+
To save time, we are going to be working on a remote server where all the necessary data and software available.
56+
When we say a 'remote server', we are talking about a computer that is not the one you are working on right now.
57+
You will access the Carpentries remote server where everything is prepared for the lesson.
5558
We will learn the basics of the shell by manipulating some data files. Some of these files are very large
5659
, and would take time to download to your computer.
57-
We will also be using several bioinformatic packages in later lessons and installing all of the software would take up time even more time. A 'ready-to-go' sever let's us focus on learning.
60+
We will also be using several bioinformatic packages in later lessons and installing all of the software
61+
would take up time even more time. A 'ready-to-go' server lets us focus on learning.
5862

5963
## How to access the remote server
6064

_episodes/04-redirection.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,9 @@ $ wc -l bad_reads.txt
232232
>> ~~~
233233
>> {: .output}
234234
>>
235+
>> Now you can divide this number by four to get the number of sequences in your fastq file.
236+
>>
235237
> {: .solution}
236-
> Now you can divide this number by four to get the number of sequences in your fastq file
237238
{: .challenge}
238239
239240
@@ -361,10 +362,10 @@ the file to see how many reads matched our criteria. There's a way to do this, h
361362
doesn't require us to create these intermediate files - the pipe command (`|`).
362363
363364
This is probably not a key on
364-
your keyboard you use very much, so let's all take a minute to find that key. For the standard QWERTY keyboard
365-
layout, the `|` character can be found using the key combination
366-
367-
- <kbd>Shift</kbd>+<kbd>\</kbd>
365+
your keyboard you use very much, so let's all take a minute to find that key.
366+
In the UK and US keyboard layouts, and several others,
367+
the `|` character can be found using the key combination <kbd>Shift</kbd>+<kbd>\</kbd>.
368+
This may be different for other language-specific layouts.
368369
369370
What `|` does is take the output that is scrolling by on the terminal and uses that output as input to another command.
370371
When our output was scrolling by, we might have wished we could slow it down and
@@ -494,7 +495,7 @@ foo is
494495
495496
The interpreter is trying to expand a variable named `fooEFG`, which (probably)
496497
doesn't exist. We can avoid this problem by enclosing the variable name in
497-
braces (`{` and `}`, sometimes called "squiggle braces"). `bash` treats the `#`
498+
braces (`{` and `}`, also called "curly brackets"). `bash` treats the `#`
498499
character as a comment character. Any text on a line after a `#` is ignored by
499500
bash when evaluating the text as code.
500501

index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ layout: lesson
55
{% include gh_variables.html %}
66

77

8-
Command line interface (CLI) and graphic user interface (GUI) are different ways of interacting with a computer's operating system. They have different pros and cons. Most people are familiar with the GUI as it is the default interface for most software, particularly on Windows and Mac OS. When using the GUI, you see visual representations of files, folders, applications etc.
9-
When using the CLI, you work largely with text representations of files, folders, input and output etc.
10-
The shell is a program that presents a command line interface that allows you to control your computer by typing instructions with a keyboard.
8+
Command line interface (CLI) and graphic user interface (GUI) are different ways of interacting with a computer's operating system. They have different pros and cons. Most people are familiar with the GUI as it is the default interface for most software, particularly on Windows and Mac OS. When using the GUI, you see and interact with visual representations of files, folders, applications, and most other functions of your computer.
9+
When using the CLI, you work largely with text representations of software, files, folders, input and output.
10+
The *shell* is a program that allows you to control your computer by typing instructions on the CLI with a keyboard.
1111

1212
There are several reasons to learn how to use the CLI:
1313

14-
- For most bioinformatics tools, there are no graphical interfaces. If you want to work in metagenomics or genomics you're going to need to use the CLI/ shell.
15-
- The shell gives you power. The command line allows you to work more efficiently. Tasks that are repetative (e.g. renaming hundreds of files) can be automated. Tasks that are tedious (e.g. testing a range of input parameters) can be simplified.
16-
- To use remote computers or cloud computing, you need to use the shell.
14+
- For most bioinformatics tools, there are no graphical interfaces. If you want to work in metagenomics or genomics, you're going to need to use the CLI/ shell.
15+
- The shell gives you power. The command line allows you to work more efficiently. Tasks that are repetitive (e.g. renaming hundreds of files) can be automated. Tasks that are tedious (e.g. testing a range of input parameters) can be simplified.
16+
- To use remote computers or cloud computing, you often need to use the shell.
1717

1818
> ## Getting Started
1919
>

0 commit comments

Comments
 (0)