You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: command-line/introduction/tutorial.md
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ To access the command line, we use a terminal emulator, usually called a termina
13
13
14
14
## Example 1: navigating around in the terminal
15
15
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):
17
17
18
18
```bash
19
19
$ pwd
@@ -29,7 +29,7 @@ The `pwd` command prints out the current directory you are in. What are director
29
29
/Users/your-username
30
30
```
31
31
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.
33
33
34
34
### `ls` or list
35
35
@@ -39,7 +39,7 @@ In your terminal type:
39
39
$ ls
40
40
```
41
41
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?
43
43
44
44
### `cd` or change directory
45
45
@@ -111,4 +111,10 @@ Do an `ls` to check whether the file has been created. Inside bits, there should
111
111
112
112
### Exercise 2: `cd` back into temp and create a couple of new folders with files in them
0 commit comments