But if you've space(s) in the search string, then you
must use quotes - singles or doubles - either's OK
and a \ in front of any characters that are meaningful to the shell - like $ or . or /
eg grep "Town Centre" infile
and grep "exec\.bat" infile
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.