diff --git a/en/intro_to_command_line/README.md b/en/intro_to_command_line/README.md index 1b47a4a4c7c..ad61b22bbca 100644 --- a/en/intro_to_command_line/README.md +++ b/en/intro_to_command_line/README.md @@ -19,20 +19,20 @@ The window, which is usually called the __command line__ or __command-line inter To start some experiments we need to open our command-line interface first. - + Go to Start menu → All Programs → Accessories → Command Prompt. - + Go to Applications → Utilities → Terminal. - + It's probably under Applications → Accessories → Terminal, but that may depend on your system. If it's not there, just Google it. :) @@ -42,7 +42,7 @@ It's probably under Applications → Accessories → Terminal, but that may depe You now should see a white or black window that is waiting for your commands. - + If you're on Mac or Linux, you probably see `$`, just like this: @@ -53,7 +53,7 @@ $ ``` - + On Windows, it's a `>` sign, like this: @@ -76,7 +76,7 @@ In the tutorial, when we want you to type in a command, we will include the `$` Let's start with something simple. Type this command: - + {% filename %}command-line{% endfilename %} ``` @@ -86,7 +86,7 @@ $ whoami - + {% filename %}command-line{% endfilename %} ``` @@ -115,7 +115,7 @@ Each operating system has a slightly different set of commands for the command l It'd be nice to know where are we now, right? Let's see. Type this command and hit `enter`: - + {% filename %}command-line{% endfilename %} @@ -127,7 +127,7 @@ $ pwd - + {% filename %}command-line{% endfilename %} ``` @@ -146,7 +146,7 @@ You'll probably see something similar on your machine. Once you open the command So what's in it? It'd be cool to find out. Let's see: - + {% filename %}command-line{% endfilename %} ``` @@ -159,7 +159,7 @@ Music ``` - + {% filename %}command-line{% endfilename %} @@ -180,7 +180,7 @@ Music Now, let's go to our Desktop directory: - + {% filename %}command-line{% endfilename %} ``` @@ -188,7 +188,7 @@ $ cd Desktop ``` - + {% filename %}command-line{% endfilename %} @@ -199,7 +199,7 @@ $ cd Desktop Check if it's really changed: - + {% filename %}command-line{% endfilename %} ``` @@ -208,7 +208,7 @@ $ pwd ``` - + {% filename %}command-line{% endfilename %} ``` @@ -227,7 +227,7 @@ Here it is! How about creating a practice directory on your desktop? You can do it this way: - + {% filename %}command-line{% endfilename %} ``` @@ -235,7 +235,7 @@ $ mkdir practice ``` - + {% filename %}command-line{% endfilename %} @@ -256,7 +256,7 @@ A small challenge for you: in your newly created `practice` directory, create a #### Solution: - + {% filename %}command-line{% endfilename %} ``` @@ -267,7 +267,7 @@ test ``` - + {% filename %}command-line{% endfilename %} @@ -289,7 +289,7 @@ We don't want to leave a mess, so let's remove everything we did until that poin First, we need to get back to Desktop: - + {% filename %}command-line{% endfilename %} ``` @@ -297,7 +297,7 @@ $ cd .. ``` - + {% filename %}command-line{% endfilename %} @@ -310,7 +310,7 @@ Using `..` with the `cd` command will change your current directory to the paren Check where you are: - + {% filename %}command-line{% endfilename %} ``` @@ -319,7 +319,7 @@ $ pwd ``` - + {% filename %}command-line{% endfilename %} @@ -333,7 +333,7 @@ Now time to delete the `practice` directory: > __Attention__: Deleting files using `del`, `rmdir` or `rm` is irrecoverable, meaning _the deleted files will be gone forever_! So be very careful with this command. - + {% filename %}command-line{% endfilename %} ``` @@ -341,7 +341,7 @@ $ rm -r practice ``` - + {% filename %}command-line{% endfilename %} @@ -353,7 +353,7 @@ practice, Are you sure ? Y Done! To be sure it's actually deleted, let's check it: - + {% filename %}command-line{% endfilename %} ``` @@ -361,7 +361,7 @@ $ ls ``` - + {% filename %}command-line{% endfilename %} @@ -374,13 +374,15 @@ $ ls That's it for now! You can safely close the command line now. Let's do it the hacker way, alright? :) + + {% filename %}command-line{% endfilename %} ``` $ exit ``` - + {% filename %}command-line{% endfilename %}