Q: 14
DRAG DROP You have been asked to parse a log file of logins to determine various information about who is logging in and when. INSTRUCTIONS Open and inspect the Login log file. Drag and drop the correct commands onto the output that was generated from that command. Tokens can be used only once and not all will be used. If at any time you would like to bring back the initial state of the simulation, please click the Reset All button.
Drag & Drop
Discussion
grep "
Mar 13 log.txt" -> first, tr "la-zi" ... -> second, awk print $1 ) log.txt | sort | uniq -> third. I don't think the plain English grep would work for this output since it's clearly using Cyrillic for the date in the logs. Saw similar in a practice bank, pretty sure this matches but open to other combos if you spot something off.
grep "Мар 13 log.txt" to first prompt, tr "la-zi" ... for the second, awk print $1 ) log.txt | sort | uniq for the third. Not seeing why anyone would put awk or grep Mar13 in the first slot. Pretty sure that's right but maybe I'm missing a subtlety in the log file?
grep "Мар 13 log.txt" to first, tr "la-zi" ... to second, awk print $1 ) log.txt | sort | uniq for third
grep "
Mar 13 log.txt" for the first, tr "la-zi" ... to the second, awk print $1 ) log.txt | sort | uniq in third. Saw this same mapping on a practice question and it matches up. Open to someone spotting any edge case but looks right.
grep "Mar 13 log.txt" to first, tr "la-zi" ... for second, awk print $1 ) log.txt | sort | uniq goes third. That lines up with the sample outputs I've seen in practice exams. If you're double-checking, official guide has some good parsing exercises.
Be respectful. No spam.
