/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.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

You May Also Like…

Unifi LAN LOCAL IN OUT

This is a graphic I use to figure out which section to add the firewall rules to in the Unifi UDM/USG controller....