1. How many times does the jester appear in our lyrics?
grep jester americanpie.txt
2. How many times does Jack appear at the start of a line?
grep ^Jack americanpie.txt
3. What would this command look like you made it case insensitive?
grep –i ^Jack americanpie.txt
4. How many times does dance end at the end of a line?
grep dance$ americanpie.txt
5. Combining two grep searches how many times were ‘we’ singing ‘bye-bye’ to Miss American Pie?
grep bye-bye americanpie.txt | grep ^We
6. How many times were people saying bye-bye?
grep bye-bye americanpie.txt