Skip to content

Commit 6739f77

Browse files
committed
adds some suggestions
1 parent 5d699d0 commit 6739f77

25 files changed

+88
-73
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ The Command Line Murders
2727

2828
There's been a murder in Terminal City, and TCPD needs your help.
2929

30-
Before you start skim through the required materials in [Command Line chapter](https://github.com/makersacademy/pre_course/blob/master/command_line.md) and [Version Control Chapter](https://github.com/makersacademy/pre_course/blob/master/version_control.md). Use it as a reference while working through the mystery.
30+
Before you start skim through the required materials in [Command Line chapter](https://github.com/makersacademy/pre_course/blob/master/command_line.md) and [Version Control Chapter](https://github.com/makersacademy/pre_course/blob/master/version_control.md). Use it as a reference while working through the case.
3131

3232
Now with your Terminal at hand you're ready to start. A couple of ground rules first:
3333

@@ -46,9 +46,9 @@ Next you need to download those files to your machine so that you can edit them.
4646

4747
## Step 2: Investigate
4848

49-
Each step of your investigation will contain the reference at the top. This reference contains the description of the commands you will need to complete the step. You can view them in the Terminal or by navigating to a file on Github.
49+
Each step of your investigation will contain a reference to the **Detective Handbook** at the top. Each page of the Detective Handbook contains the description of the commands you will need to complete that particular step. You can view them in the Terminal.
5050

51-
Reference: ./reference/getting_started.md
51+
Reference: ./detective_handbook/getting_started.md
5252

5353
Open a Terminal, go to the location of the files (using the `cd` command), and start by reading the file 'step0'.
5454

@@ -65,4 +65,4 @@ Projects: [noahveltman.com](http://noahveltman.com)
6565
GitHub: [veltman](https://github.com/veltman)
6666
Twitter: [@veltman](https://twitter.com/veltman)
6767

68-
Adapted by the Makers Team
68+
Adapted by the Makers Academy Team
File renamed without changes.
File renamed without changes.
File renamed without changes.

reference/step1-git.md renamed to detective_handbook/step1-git.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ Git status shows what changes you have made since the last commit. The output of
2828

2929
# `git push`
3030

31-
After you committed the changes they still only exist on your machine. To "share" the work you need to push the changes to a remote repository. If you cloned the repository from Github you already have a remote repository setup. When you push your changes they will be pushed to Github. Type `git push` to push your commits.
31+
After you have committed the changes, they still only exist on your machine. To "share" the work you need to push the changes to a remote repository. If you cloned the repository from Github you already have a remote repository setup. When you push your changes they will be pushed to Github. Type `git push` to push your commits.
File renamed without changes.

reference/step3.md renamed to detective_handbook/step3.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Wildcard
22

3-
`ls cats/` prints out all files in the 'cats' directory. What if you only want to print out txt files? Or files with names starting with "cute_"? To do that you can use asterisk symbol:
3+
`ls kitties/` prints out all files in the 'kitties' directory. What if you only want to print out txt files? Or files with names starting with "cute_"? To do that you can use asterisk symbol:
44

5-
`ls cats/*.txt`
5+
`ls kitties/*.txt`
66

7-
`ls cats/cute_*`
7+
`ls kitties/cute_*`
88

9-
The asterisk (wildcard) is a "match all" symbol. When you type `ls cats/cute_*` command line interprets it as "print all the files in the cats directory that start with 'cute_'". The rest of the name could be anything as `*` matches all possible strings.
9+
The asterisk (wildcard) is a "match all" symbol. When you type `ls kitties/cute_*` command line interprets it as "print all the files in the kitties directory that start with 'cute_'". The rest of the name could be anything as `*` matches all possible strings.
1010

1111
# `find`
1212

@@ -20,7 +20,7 @@ This command works a lot just like normal English. It's saying: "find all files,
2020

2121
`ls -a` prints all files and directories including the ones whose names begin with `.`
2222

23-
`ls -l` prints all files as a list with all the information about files like permissions, owner, last modified time and size
23+
`ls -l` prints all files as a list with all the information about files like permissions, owner, last modified time and size.
2424

2525
`ls -h` when used with `-l` option prints file size in a human readable format (Kbytes, Mbytes etc.) instead of bytes.
2626

detective_handbook/step4.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# `head`
2+
3+
`head -N` command will print out first N lines of the file.
4+
5+
# `tail`
6+
7+
`tail -N` is the opposite of `head`. It will print out last N lines of the file.
8+
9+
# `|`
10+
11+
The pipe operator - `|` - allows you to "pipe" or direct the output of one command into the input of another command. For example if you wish to search for "British" in 'kitties.txt' and then search for "Shorthair" in the results of the first search you can use the combination of `grep` and `|`:
12+
13+
`grep British kitties.txt | grep Shorthair`
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)