How to grep exact literal string (no regex) June 6, 2023 by Tarik Use fgrep, it’s the same as grep -F (matches a fixed string).