Refresh Linux or Unix Path Environmental Variables with rehash
If you have install new applications in Unix or Linux operating system, the rehash command can be used to recomputes the internal hash table of the contents of directories listed in the path environmental variable to account for new commands added.
To use rehash command, simply called rehash at command line:
# rehash
rehash will update and refresh the OS’s path environmental variables to include the newly added and installed directories, thus enables users to call the functions and commands from any directory immediately without restarting the server.
Related Articles
- Change Group Ownership of Symbolic Links in Unix or Linux
- How to Mount USB Disk Drive in UNIX or Linux
- How to Calculate and Generate MD5 Hash Value in Linux and Unix with md5sum
- How to Make or Create Symbolic Link in Unix or Linux
- How to Disable Linux and Unix Cron Jobs (Crontab) Email Sending
- How to Change or Spoof MAC Address in Windows XP, Vista, Server 2003/2008, Mac OS X, Unix and Linux
- How to Change Default Windows Installation Path to Your Desired Path
- Reveal, Copy and Get File Full Path with Copy as Path in Windows Vista
- Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linux
- List of Windows and DOS Command Prompt Environment Variables









































