How to Search for Double BackSlash with Grep

April 14, 2021 | By the+gnu+linux+evangelist | Filed in: Tutorial.

GNU/Linux Grep Searching for Double BackSlash

This Tip Show you How to Search with Grep for a Double BackSlash in GNU/Linux.

And to achieve this task you have to use the “-F” or “–fixed-strings” Flag.

How to Search for Double BackSlash with Grep
  1. Searching with Grep

    Then to Search for the Pattern “//” in Linux
    In Files Ricursively from a Base Path use:

    grep -rF "////"

QuickChic Theme • Powered by WordPress