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.
Use regular expressions: