Hacker News new | ask | show | jobs
by nyuszika7h 1703 days ago
Usually the shell creates a cache of commands on start, which can be refreshed with `hash -r`.
1 comments

As far as I can tell the hash table is initially empty after you first start the shell. At least, that's the case for bash.

  $ hash
  hash: hash table empty