you are viewing a single comment's thread
view the rest of the comments
[–] 4 points 2 years ago*

type -p is a shell builtin though, and one character shorter :)

Although you may prefer tool=$(command -v tool)

  • source
  • parent