title: How can I check if a directory is on the path in Bash?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1396066/bash-detect-if-users-path-has-a-specific-directory-in-it">Bash: Detect if user&#39;s path has a specific directory in it</a>  </p>
  </blockquote>
  
  
  
  <p>Given a directory, how can I determine whether it's on the unix PATH? Looking for a shell script.</p>
  
  <p>Thanks,
  Kevin</p>