title: grep command to match only request url of access log
body: <p>I need to find all accessed URLs having keywords like config,tmp,backup or dump.</p>
  
  <pre><code>grep '/config/\|/tmp/\|/backup/\|/dump/' access.log
  </code></pre>
  
  <p>When I grep the access log I am getting unwanted logs like below</p>
  
  <blockquote>
    <p>106.221.160.250 - - [11/Apr/2014:12:07:13 -0400] "GET url.com/perfect HTTP/1.1" 200 43 "file:///something/tmp/579928.html" "HTC_Smart_F3188 Mozilla/5.0 (like Gecko) Obigo/Q7" 0 20675</p>
  </blockquote>
  
  <p>It's unwanted as <code>GET url.com/perfect HTTP/1.1" 200 43 "file:///something/tmp/579928.html</code> which doesn't contain the desired keyword.</p>
  
  <p>How should I change my grep command?</p>