Question: Linux : This problem will help you get some practice with useful command-line programs and piping. Suppose you are working for a corporate espionage company
Linux :
This problem will help you get some practice with useful command-line programs and piping. Suppose you are working for a corporate espionage company SpySolutions. You will be monitoring large amounts of text communications and trying to extract names that appear in the text using common Linux utilities and piping at the Linux command line. To test your commands on this problem, we will be using the text from Agatha Christie's novel The Mysterious Affair at Styles (styles.txt in the homework zip file, obtained from Project Gutenberg Links to an external site.).
For this problem, you should write Linux commands to find female first names present in styles.txt. You should download the national data from the Social Security Administration Links to an external site.and use the baby names from 1923 to help you on this task. For this problem, just focus on the 300 most popular girls names from that year (they are ordered by popularity already in the file). The final output of your commands should be a list of names, one per line, that are present in both styles.txt and the 300 most popular girl names from 1923. You should then pipe this list (with no repeats) through the wc command to get how many common names there are and enter that as your auto-graded answer for this problem. Include the command/s you used and the full list of names in the justification text area.
Note that names always start with an uppercase letter in the Styles book. Also, you might get a couple false positives (for example, month names). This is fine, and those should still be counted in your answer.
Hint: the following command may be useful:
cat yob1923.txt | awk -F, '{print $1}' Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
