Table of Contents

Bash - Hash (Builtin command)

About

Syntax

hash [-lr] [-p filename] [-dt] [name]

For each name, the full file name of the command is determined by searching the directories in PATH and remembered.

If no arguments are given, or if only -l is supplied, information about remembered commands is printed.

Exit value

The return status is true unless:

Documentation / Reference