Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

8 votes
5 answers
33k views

How to find lines that begin with **

I need to find if any lines in a file begin with ** . I cannot figure out how to do it because * is interpreted as a wildcard by the shell. grep -i "^2" test.out works if the line begins with a 2 ...
Shar Hunter's user avatar