forked from makersacademy/clmystery
-
Notifications
You must be signed in to change notification settings - Fork 17
/
step8
19 lines (9 loc) · 924 Bytes
/
step8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Reference: ./detective_handbook/step8.md
The final outstanding clue is the list of memberships in the wallet found at the crime scene. All that's required now is to verify your suspect holds all of the relevant memberships.
What files does the './mystery/memberships' subdirectory contain? What's inside these files?
############ Challenge ###############
Remember that the `cat` command was originally intended for concatenating files. Using this how can you tell if one suspect has all of the memberships?
How many membership cards were in the wallet? Can you automatically count if the suspect has all of them using `grep`, `wc` commands and the pipe operator?
######################################
If you managed to narrow your investigation down to one suspect, read the `solution` file to verify that you have found the killer. Move on to 'step9'
If not, retrace your steps until there is only one suspect.