How to grep for this string that contains an equal sign?
<p>Below is the string I am trying to grep for this in the bash shell:</p>

<pre><code>'#Hostname=sometext.company.com, sometext.company.com' filename
</code></pre>

<p>I want to only find the string if it matches that exact pattern. I already tried the command below and a few others. </p>

<p><code>grep -Fx "#Hostname=sometext.company.com, sometext.company.com" filename</code></p>