Bash - Hash (Builtin command)

Bash Liste Des Attaques Ovh



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.

  • -p: no path search is performed, and filename is used as the full file name of the command.
  • -r: forget all remembered locations.
  • -d: forget the remembered location of each name.
  • -t: the full pathname to which each name corresponds is printed. If multiple name arguments are supplied with -t, the name is printed before the hashed full pathname.
  • -l: output is displayed in a format that may be reused as input.

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:

  • a name is not found
  • or an invalid option is supplied.

Documentation / Reference

Discover More
Bash Liste Des Attaques Ovh
Bash - Builtin Commands

builtin refers to: a builtin command. See or to the specific builtin command. See (useful when defining a function whose name is the same as a shell builtin) The builtin command execute the specified...

Share this page:
Follow us:
Task Runner