I wanted to install x264 cli encoder on OS X. I copied the downloaded  binary to /usr/bin/, changed permissions and voila - it worked. Then I decided to be a smartass. So I deleted the file and installed x264 using Homebrew [an OS X package manager]. Now it doesn't work and which x264 points still to the old location. What's at play here, and how do I switch to the new location?
Change location of executable
command line;osx