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

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The reCAPTCHA verification period has expired. Please reload the page.

You May Also Like…

Squarespace Image Export

To gain continued access to your Squarespace website images after cancelling your subscription you have several...

MySQL 8.x GRANT ALL STATEMENT

-- CREATE CREATE USER 'tgnrestoreuser'@'localhost' IDENTIFIED BY 'AppleSauceLoveBird2024'; GRANT ALL PRIVILEGES ON...

Exetel Opt-Out of CGNAT

If your port forwards and inbound and/or outbound site-to-site VPN's have failed when switching to Exetel due to their...