Page 1 of 1

Given a log file loga.log with timestamps of the format DD/MM/YYYY:hh:mm:ss, which command filters out all log entries i

Posted: Sat Aug 20, 2022 7:48 am
by answerhappygod
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
B. grep ""E "˜:08:[00]+' loga.log
C. grep ""E loga.log "˜:08:[0-9]+:[0-9]+'
D. grep loga.log "˜:08:[0-9]:[0-9]'
E. grep ""E "˜:08:[0-9]+:[0-9]+' loga.log