Linux CLI - Text Processing
Given a file
What is the output of
log.txt with these lines:info: start
error: failed
warning: low disk
error: timeout
What is the output of
grep -E '^error' log.txt?