Skip to content

Commit 6a77764

Browse files
author
Kriszta Matyi
committed
adding minor amends to intro to command line tuts
1 parent eb5e193 commit 6a77764

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

command-line/introduction/tutorial.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ To access the command line, we use a terminal emulator, usually called a termina
1313

1414
## Example 1: navigating around in the terminal
1515

16-
Once you opened up your terminal, type in the following after the $ or > sign ($ or > is the prompt, you don't have to retype that in the terminal, only the characters that come after them):
16+
Once you opened up your terminal, type in the following after the $ or > sign and hit enter: ($ or > is the prompt, you don't have to retype that in the terminal, only the characters that come after them):
1717

1818
```bash
1919
$ pwd
@@ -29,7 +29,7 @@ The `pwd` command prints out the current directory you are in. What are director
2929
/Users/your-username
3030
```
3131

32-
Now you know how to tell where you are in the folder structure of you computer, you might ask yourself: but if there is not visual user interface in the terminal how do I know what directories are in what directories? That's where the `ls` command comes in handy.
32+
Now you know how to tell where you are in the folder structure of you computer, you might ask yourself: but if there is no visual user interface in the terminal how do I know what directories are in what directories? That's where the `ls` command comes in handy.
3333

3434
### `ls` or list
3535

@@ -39,7 +39,7 @@ In your terminal type:
3939
$ ls
4040
```
4141

42-
Most likely this command returned you a bunch of files and directories (folders). The `ls` command prints out the contents of a directory. If you are in the root directory of your computer you should see directories printed out such as Documents, Applications, etc. Now the question is, how do I move between directories?
42+
and hit enter. Most likely this command returned you a bunch of files and directories (folders). The `ls` command prints out the contents of a directory. If you are in the root directory of your computer you should see directories printed out such as Documents, Applications, etc. Now the question is, how do I move between directories?
4343

4444
### `cd` or change directory
4545

@@ -111,4 +111,10 @@ Do an `ls` to check whether the file has been created. Inside bits, there should
111111

112112
### Exercise 2: `cd` back into temp and create a couple of new folders with files in them
113113

114+
### Bonus: type this into your terminal:
115+
116+
```bash
117+
$ say hello
118+
```
119+
114120

0 commit comments

Comments
 (0)