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: intro_to_command_line/README.md
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,12 @@
1
-
# Introduction to command-line interface
1
+
# Introduction to the command-line interface
2
2
3
3
Huh, it's exciting, right?! You'll write your first line of code in just a few minutes :)
4
4
5
-
__Let us first introduce you to your first new friend: the command line!__
5
+
__Let us introduce you to your first new friend: the command line!__
6
6
7
7
The following steps will show you how to use the black window all hackers use. It might look a bit scary at first but really it's just a prompt waiting for commands from you.
8
8
9
-
## What is a command line?
9
+
## What is the command line?
10
10
11
11
The window, which is usually called the __command line__ or __command-line interface__, is a text-based application for viewing, handling and manipulating files on your computer (much like e.g. Windows Explorer or Finder on Mac, but without the graphical interface). Other names for the command line are: *cmd*, *CLI*, *prompt*, *console* or *terminal*.
12
12
@@ -57,7 +57,7 @@ And then hit Enter. This is our result:
57
57
$ whoami
58
58
olasitarska
59
59
60
-
As you can see, computer just presented you your username. Neat, huh?:)
60
+
As you can see, the computer just presented you your username. Neat, huh?:)
61
61
62
62
> Try to type each command, do not copy paste. You'll remember more this way!
63
63
@@ -77,7 +77,7 @@ If you're on Windows:
77
77
> cd
78
78
C:\Users\olasitarska
79
79
80
-
You'll probably see something similiar on your machine. Once you open command line you usually start at your user's home directory.
80
+
You'll probably see something similiar on your machine. Once you open the command line you usually start at your user's home directory.
81
81
82
82
---
83
83
@@ -126,23 +126,23 @@ Windows:
126
126
127
127
Here it is!
128
128
129
-
> PRO tip: if you type `cd D` and then hit `tab` on your keyboard, command line will automatically autofill the rest of the name so you can navigate faster. If there is more than one folder starting with "D", hit `tab` button twice to get a list of options.
129
+
> PRO tip: if you type `cd D` and then hit `tab` on your keyboard, the command line will automatically autofill the rest of the name so you can navigate faster. If there is more than one folder starting with "D", hit the`tab` button twice to get a list of options.
130
130
131
131
---
132
132
133
133
### Create directory
134
134
135
-
How about creating Django Girls directory on your desktop? You can do it this way:
135
+
How about creating a Django Girls directory on your desktop? You can do it this way:
136
136
137
137
$ mkdir djangogirls
138
138
139
139
Windows:
140
140
141
141
> mkdir djangogirls
142
142
143
-
This little command will create a folder with name `djangogirls` on your desktop. You can check if it's there just by looking on your Desktop or by running a `ls`/`dir` command! Try it :)
143
+
This little command will create a folder with the name `djangogirls` on your desktop. You can check if it's there just by looking on your Desktop or by running a `ls`/`dir` command! Try it :)
144
144
145
-
> PRO tip: If you don't want to type the same commands over and over, try clicking`up arrow` and `down arrow` on your keyboard to cycle through recently used commands.
145
+
> PRO tip: If you don't want to type the same commands over and over, try pressing the`up arrow` and `down arrow` on your keyboard to cycle through recently used commands.
146
146
147
147
---
148
148
@@ -180,7 +180,7 @@ Windows:
180
180
181
181
> cd ..
182
182
183
-
Making `cd` to `..` will change your current directory to the parent directory (which means directory that contain your current directory).
183
+
Making `cd` to `..` will change your current directory to the parent directory (which means the directory that contain your current directory).
184
184
185
185
Check where you are:
186
186
@@ -192,7 +192,7 @@ Windows:
192
192
> cd
193
193
C:\Users\olasitarska\Desktop
194
194
195
-
Now time to delete `djangogirls` directory:
195
+
Now time to delete the `djangogirls` directory:
196
196
197
197
$ rm -r djangogirls
198
198
@@ -209,7 +209,7 @@ Windows:
209
209
210
210
> dir
211
211
212
-
> __Attention__: eleting files using `del`, `rmdir` or `rm` is irrecoverable, meaning _deleted files will be gone forever_! So, be very careful with this command.
212
+
> __Attention__: Deleting files using `del`, `rmdir` or `rm` is irrecoverable, meaning _deleted files will be gone forever_! So, be very careful with this command.
Copy file name to clipboardExpand all lines: python_introduction/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,9 +6,9 @@ Let's write some code!
6
6
7
7
## Python prompt
8
8
9
-
To start playing with Python, we need to open up a *command line* on your computer. You should have already knew how to do that -- you have learned that in [Intro to Command Line](/intro_to_command_line/README.html) chapter.
9
+
To start playing with Python, we need to open up a *command line* on your computer. You should have already knew how to do that -- you have learned it in the[Intro to Command Line](/intro_to_command_line/README.html) chapter.
10
10
11
-
Once you're ready, follow instructions below.
11
+
Once you're ready, follow the instructions below.
12
12
13
13
We want to open up a Python console, so type in `python3` and hit Enter.
0 commit comments