index all rss twitter github linkedin email

Álvaro Ramírez

30 December 2015 Find in $PATH with type and which

I typically use which to figure out the first binary found in $PATH:

which -a emacsclient
/Users/user/homebrew/bin/emacsclient
/usr/bin/emacsclient

I always forget about type though:

type -a emacsclient
emacsclient is /Users/user/homebrew/bin/emacsclient
emacsclient is /usr/bin/emacsclient