Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com May 29 '12 at 19:23

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

add comment

1 Answer

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

share|improve this answer
add comment

Your Answer

 
discard

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.