I have a log file with every line that starts with the following date format.
2020-06-21 12:39:49 enginestart [INFO] total records found
I want to fetch logs dated from 2020-06-15 to 2020-06-21 and to display as output.
I have tried to grep, egrep, and sed and getting the expected result.
grep -E "2020-06-19|2020-06-20" logfile.* > file1
But the above-fetched log only from 20th