Hands-on task
Count the lines in the lists
The /root/party directory has three guest lists for the weekend: friday.txt, saturday.txt and sunday.txt — one name per line. There are no repeats: each guest comes on one day.
How many guests are there in all three lists together? Write a single number to /root/answer.txt, for example like this: echo 10 > /root/answer.txt — just with your number.
- wc -l
- several files
- the * pattern