ExamGecko
Question list
Search
Search

Question 226 - 101-500 discussion

Report
Export

Given a log file loga.log with timestamps of the format DD/MM/YYYY:hh:mm:ss, which command filters out all log entries in the time period between 8:00 am and 8:59 am?

A.
grep -E ':08:[09]+:[09]+' loga.log
Answers
A.
grep -E ':08:[09]+:[09]+' loga.log
B.
grep -E ':08:[00]+' loga.log
Answers
B.
grep -E ':08:[00]+' loga.log
C.
grep -E loga.log ':08:[0-9]+:[0-9]+'
Answers
C.
grep -E loga.log ':08:[0-9]+:[0-9]+'
D.
grep loga.log ':08:[0-9]:[0-9]'
Answers
D.
grep loga.log ':08:[0-9]:[0-9]'
E.
grep -E ':08:[0-9]+:[0-9]+' loga.log
Answers
E.
grep -E ':08:[0-9]+:[0-9]+' loga.log
Suggested answer: E
asked 18/09/2024
Jaroslaw Mikolajczyk
36 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first