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: en/intro_to_command_line/README.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ The following steps will show you how to use the black window all hackers use. I
10
10
11
11
## What is the command line?
12
12
13
-
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*.
13
+
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 Windows Explorer or Finder on Mac, but without the graphical interface. Other names for the command line are: *cmd*, *CLI*, *prompt*, *console* or *terminal*.
14
14
15
15
## Open the command-line interface
16
16
@@ -54,22 +54,22 @@ or
54
54
55
55
> whoami
56
56
57
-
And then hit Enter. This is our result:
57
+
And then hit 'Enter'. This is our result:
58
58
59
59
$ whoami
60
60
olasitarska
61
61
62
-
As you can see, the computer just presented you your username. Neat, huh?:)
62
+
As you can see, the computer has just printed your username. Neat, huh?:)
63
63
64
-
> Try to type each command, do not copypaste. You'll remember more this way!
64
+
> Try to type each command, do not copy-paste. You'll remember more this way!
65
65
66
66
## Basics
67
67
68
68
Each operating system has a slightly different set of commands for the command line, so make sure to follow instructions for your operating system. Let's try this, shall we?
69
69
70
70
### Current directory
71
71
72
-
It'd be nice to know where are we now, right? Let's see. Type this command and hit enter:
72
+
It'd be nice to know where are we now, right? Let's see. Type this command and hit 'Enter':
73
73
74
74
$ pwd
75
75
/Users/olasitarska
@@ -110,7 +110,7 @@ So what's in it? It'd be cool to find out. Let's see:
110
110
111
111
### Change current directory
112
112
113
-
Maybe we can now go to our Desktop directory?
113
+
Now, let's go to our Desktop directory:
114
114
115
115
$ cd Desktop
116
116
@@ -184,7 +184,7 @@ Windows:
184
184
185
185
> cd ..
186
186
187
-
Making `cd` to `..`will change your current directory to the parent directory (which means the directory that contains your current directory).
187
+
Using `..` with the `cd` command will change your current directory to the parent directory (this is the directory that contains your current directory).
188
188
189
189
Check where you are:
190
190
@@ -196,7 +196,7 @@ Windows:
196
196
> cd
197
197
C:\Users\olasitarska\Desktop
198
198
199
-
Now time to delete the `djangogirls` directory.
199
+
Now time to delete the `djangogirls` directory:
200
200
201
201
> __Attention__: Deleting files using `del`, `rmdir` or `rm` is irrecoverable, meaning _deleted files will be gone forever_! So, be very careful with this command.
202
202
@@ -217,7 +217,7 @@ Windows:
217
217
218
218
### Exit
219
219
220
-
That's it for now! You can safely close the command line now. Let's do it the hacker way, all right?:)
220
+
That's it for now! You can safely close the command line now. Let's do it the hacker way, alright?:)
221
221
222
222
$ exit
223
223
@@ -241,7 +241,7 @@ Cool, huh?:)
241
241
| mkdir | mkdir | create a new directory |**mkdir testdirectory**|
242
242
|del | rm | delete a directory/file |**del c:\test\test.txt**|
243
243
244
-
These are just a very few of the commands you can run in your command line but you're not going to use anything more than that today.
244
+
These are just a very few of the commands you can run in your command line, but you're not going to use anything more than that today.
245
245
246
246
If you're curious, [ss64.com](http://ss64.com) contains a complete reference of commands for all operating systems.
0 commit comments