How to grep a line start with "*" using grep

Posted by michael on Super User See other posts from Super User or by michael
Published on 2010-05-13T15:54:54Z Indexed on 2010/05/13 15:55 UTC
Read the original article Hit count: 569

Filed under:

Hi,

How can I use 'grep' to get lines start with '* ' in my file?

I tried grep "" myfile I tried grep " " myfile

but returns all the lines of my file.

Thank you.

© Super User or respective owner

Related posts about linux