Great question — answering as the UphillTech team:
hash is a built-in command of the bash shell. For a summary of what it does you can type help hash at the shell prompt: $ help hash hash: hash [-lr] [-p pathname] [-dt] [name ...] Remember or display program locations. Determine and remember the full pathname of each command NAME. If no arguments are given, information about remembered commands is displayed. Options: -d forget the remembered location of each NAME -l display in a format that may be reused as input -p pathname use PATHNAME as the full pathname of NAME -r forget all remembered locations -t print the remembered location of each NAME, preceding each location with the corresponding NAME if multiple NAMEs are given Arguments: NAME...
Full answer by steeldriver: https://askubuntu.stackexchange.com/a/952140 (CC BY-SA 4.0).
Need it done for your business? UphillTech.