RVM Installation Issues Linux

Posted on

Problem :

I have Elementary OS installed on my PC and have installed RVM through the terminal.

However, when I type this type rvm | head -1, instead of “rvm is a function”, I get rvm is hashed (/home/edson/.rvm/bin/rvm).

Any ideas as to why this is?

Solution :

As bash manual page says, “is hashed” means that the command is stored in a hash table, to be used in a more efficient way, because that prevents it from having to search $PATH every time you type the same command.

You could check hash table with “hash” command, and you could purge entries with “hash -d command”.

Leave a Reply

Your email address will not be published. Required fields are marked *