Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For example, on my machine, git is at /usr/local/git/bin/git (I found this by fiddling around). Is there a command I can run on my terminal like show-path git which would return the real path? I tried whereis but that doesn't return anything.

share|improve this question

migrated from May 29 '12 at 19:23

This question came from our site for professional and enthusiast programmers.

What you actually need is which. Also type, which can show you aliases as well.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.