Recap: Search Tools
Chapter 4 was about finding things: lines inside files, files inside folders, programs on the system.
A search for the wrong kind of thing finds nothing, so before each step ask yourself what you are looking for.
Mission: Rescue Signal Trace
A faint distress signal is coming from somewhere inside the station directory. Command needs you to trace it:
- Locate the file called
distress.log, wherever it sits in thestationtree. - Find every line that mentions
SOSin any file understation, with the file each one came from. Not every SOS is real: one is an old test signal. - Hand the real call to the rescue team: copy the log that holds the real SOS to
rescue/signal.log. - The rescue team wants to run the same search on their own machine: show them where the program you searched the text with is installed.
Expected result
You know where distress.log is and which SOS is real, rescue/signal.log is a copy of the log with the real call, and you see the path of the search program.