Question: Question 3: grep In this question, use the grep command to return all words that are either 5 or 6 letters in length in the

Question 3: grep In this question, use the grep command to return all words that are either 5 or 6 letters in length in the file /home/data_scientist/w6p1/wordsEn.txt. Pipe the results to the file q3.txt located in folder: /home/data_scientist/w6p1. Make sure to also account for the null character. In [ ] : %%bash # YOUR CODE HERE In 1ist_dir -1s /home/data_scientist/wop1/ assert_true ('q3.txt' in list dir, msg-'Did you pipe the results to the correct path? You might want to use an absolute acc_words cat /home/data_scientist/w6p1/q3.txt assert_true ('aahed' in '"-join(acc_words) ) assert_true ('abbrev' in'.join (acc_words),msg-'abbrev is not in your results. Did you count the null character at the In [ ] : %%bash RUN THIS COMAND TO CLEAN UP THE TEST DIRECTORY rm -rf w6p1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
