WeCodeAcademy

Challenge: Visitor Log

Final test for the text tools. Build a small visitor log, then answer questions about it using pipes.

Examplebash
Open in editor »
/ $

Try your own questions in the terminal below, for example: how many people visited at least once (wc -l people.txt), or who was the last visitor (tail -n 1 visits.txt)?

Quick check

Which pipeline finds who visited the most?

Your turn: write the code

visits.txt is created for you. Print how many different people visited.

Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.

Tip: use the left and right arrow keys to move between lessons.