grep -lw -e '0123456789' application.log_2023-07-*
I want logs greater than 2023-07-*, how do I achieve it?
Similar Question:
grep -lw -e '0123456789' application.log_2023-07-*
I want logs greater than 2023-07-*, how do I achieve it?
Similar Question:
You'll need to use at least two patterns (in the same line), one for 7-9 and one for 10-22.
application.log_2023-0[7-9]-* application.log_2023-1[0-2]-*
If you also want the same command to work at the next year(s), also add wildcard for the year.
application.log_202[4-9]-*-*