macOS / binaries /

hash

/usr/bin/hash
Remember or report utility locations

The hash utility shall affect the way the current shell environment remembers the locations of utilities found as described in Section 2.9.1.1, Command Search and Execution. Depending on the arguments specified, it shall add utility locations to its list of remembered locations or it shall purge the contents of the list.

source: man7.org