title: How to execute a shell built-in command
body: <p>I am trying to find out if a program exists on Linux and I found this <a href="https://stackoverflow.com/questions/592620/check-if-a-program-exists-from-a-bash-script">article</a>. I tried executing this from my go program and it keeps giving me an error saying it can-not find "command" in my $PATH, which is to be expected since it's a built-in command in linux and not a binary. So my question is how to execute built in commands of linux from within go programs?</p>
  
  <pre><code>exec.Command("command", "-v", "foo")
  </code></pre>
  
  <p>error: exec: "command": executable file not found in $PATH</p>