grep matches by string

Check a small note in the log:

grep -F "[20210115023500][3, 4]" /home/work/a.txt

Without -F, it will be matched according to regular

Add -F to match only by string

Guess you like

Origin blog.csdn.net/qq_32907195/article/details/112799953