hi linux expert
how can i find apostrophe (') symbol in text file by grep? for example for find 'test, the command grep " \'test" * is not useful.
Many Thanks
samad
hi linux expert
how can i find apostrophe (') symbol in text file by grep? for example for find 'test, the command grep " \'test" * is not useful.
Many Thanks
samad
Try unescaped:
grep "'test" file
'test