Recap: Viewing Files
Chapter 3 was about reading files without changing them: a whole file, its start, its end, its size.
Each question in this mission needs one of those. Picking which is the exercise.
Mission: Station Log Triage
The previous crew evacuated in a hurry and left three logs behind. Before anyone moves back in, command wants answers:
- What does the short
summary.logsay? Read all of it. - How did the day in
events.logbegin, and how did it end? Three events from each end, nothing from the middle. - How many errors were logged in
errors.log, one per line? The number, not the errors.
Expected result
You can answer all three questions from what you saw.