DEV Community

Discussion on: March 31st, 2022: What did you learn this week?

Collapse
 
deciduously profile image
Ben Lovy

By default, bash hashes the location of executables you call the first time you run them. This means that if you place a different version with the same name at some location in your $PATH even with higher precedence, you'll still get the first one by default. You can toggle this off with set +h.

Collapse
 
nickytonline profile image
Nick Taylor

TIL!

Today I learned