/usr/bin/which equals bash builtin type -p

Written by James McDonald

February 16, 2009

Just playing with wine-1.1.14 and found a font smoothing script that enables font smoothing on Wine >= 1.1.13.

Anyway in the script I noticed a command:
type -p wine

Which after a little investigation is similar to
which wine

I like to make note of these sorts of work-a-likes because sometimes the which binary is missing on a box and a work-a-round is needed.


Submit a Comment

Your email address will not be published.

You May Also Like…


Zebra Printer Language http://labelary.com/viewer.html The above website has a page where you can enter ZPL and it...

PHP Iterators

Just came across a Youtube talk "Iterators in PHP" by Jake Smith published in 2014 that steps through the many...