3 ms·
Tip: I recently looked up the man page for "which" and found out about the -a flag which will list all instances of the executable found (instead of just the fi
by olalonde 12y ago
Tip: I recently looked up the man page for "which" and found out about the -a flag which will list all instances of the executable found (instead of just the first one). Incredibly useful when you have multiple installations of the same software and it's causing problems. e.g.:
$ which -a ruby
/Users/olalonde/.rbenv/shims/ruby
/usr/local/bin/ruby
/usr/bin/ruby