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
- How to Mount USB Disk Drive in UNIX or Linux
- Change Group Ownership of Symbolic Links 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
- Open, Extract and Convert DAA, ISO and BIN Files in Linux with Free PowerISO for Linux
- Triumph Introduces My Chopsticks Bra To Promote Environmental Friendly Habit
- Run WordPress at Top Fast Speed by Putting Objects and Variables into XCache or eAccelerator Cache Memory (Plugin)
- Find Files that are Modified Today (or Since Certain Time Ago) in Unix
- (Enhance) Concurrent Capable and Big vg Format Volume Group in AIX Unix
- Visualise the Path Data Packets Traverse
































