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.
Share and contribute or get technical support and help at My Digital Life Forums.
Related Articles
- Change Group Ownership of Symbolic Links in Unix or Linux
- How to Mount USB Disk Drive in UNIX or Linux
- How to Change or Spoof MAC Address in Windows XP, Vista, Server 2003/2008, Mac OS X, Unix and Linux
- Reveal, Copy and Get File Full Path with Copy as Path in Windows Vista
- Find Files that are Modified Today (or Since Certain Time Ago) in Unix
- Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linux
- Reveal and Access to Windows Vista Hidden Context-Sensitive (Right Click) Menu Item - Open Command Prompt Here & Copy as Path
- Fix Session Save Path Red Unwritable When Installing Joomla!
- Run WordPress at Top Fast Speed by Putting Objects and Variables into XCache or eAccelerator Cache Memory (Plugin)
- How To Mount and Access New Partition, Volume or Drive As Folder Path In Windows

























