I wanna grep this $_SESSION[“sig”] in Linux, and find out all of files with this variable. I used
grep -F "$_SESSION["sig"]" * fgrep "$_SESSION["sig"]" * fgrep "$_SESSION["sig"]" *
but they are not working
How can I fix this? Thank you.
Advertisement
Answer
Just use the grep -F '$_SESSION["sig"]' *
command.