How to grep lines that start with double forward slash in Linux command line?

Viewed 21379

How do I grep lines in a file that start with double forward slash from the Linux command line? The double forward slashes may have spaces before it, but only spaces before it and no other types of characters.

e.g.

shell_prompt: ls
shell_prompt: grep .....? file_name

Sorry was being unobservant, I didn't notice something that existed before the // characters other than the space. Problem solved. Will award to the guy that answered first.

3 Answers
Related