Run all the scripts and append those results file called dealers
Week 3 Homework: A High Stakes Investigation
Scenario
Your manager believes there is a player working with a Lucky Duck dealer to steal
money at the roulette tables.
You will prepare several evidence files to assist the prosecution.
You must work quickly as Lucky Duck can't afford any more losses.
provided in compressed zip format if the command does not work.
Lab Environment
Instructions
Use your command-line skills to uncover the identities of the rogue casino player and dealer
1. Begin by making a single directory titled Lucky_Duck_Investigations.
2. In this directory, create a directory for this specific investigation titled
o Player_Dealer_Correlation to summarize your findings of the collusion.
4. Create empty files called Notes_<Directory Name> under each subdirectory to store investigation notes.
After running this command your current directory should have the following subdirectories:
o Dealer_Schedules_0310: Contains the dealer schedules.
o Move the files for those days into the directory Player_Analysis.
Step 3: Correlating the Evidence
2. Use grep to isolate all of the losses that occurred on March 10, 12, and 15. 3. Place those results in a file called Roulette_Losses.
4. Preview the file Roulette_Losses and analyze the data.
Hint: Use the wc command to find this value.
Complete the dealer analysis.
o a.m./p.m.
o First name of roulette dealer
5. Preview your file Dealers_working_during_losses and analyze the data.
o Record in the Notes_Dealer_Analysis file:
Step 4: Scripting Your Tasks
You manager is impressed with the work you have done so far on the investigation.
o Design the shell script to accept the following two arguments:
One for the date (four digits)
In case there is future fraud on the other Lucky Duck games, create a shell script called roulette_dealer_finder_by_time_and_game.sh that has the three following arguments:
o Specific timeo Specific date
|
|
||
|---|---|---|---|
| o | |||
| o | |||
| | |||
| | |||
| o |
|
||
|
|||


