Este Unix & A resposta do Linux é relevante:
bash
does cache the full path to a command. You can verify that the command you are trying to execute is hashed with thetype
command:$ type svnsync svnsync is hashed (/usr/local/bin/svnsync)
To clear the entire cache:
$ hash -r
Or just one entry:
$ hash -d svnsync
For additional information, consult
help hash
andman bash
.