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
- Running Google Earth on Suse Linux with VMware
- Auto Shutdown and Restart Apache HTTPD Service Daemon at Preset Time
- Hard Refresh
- Refresh your Monitor
- Installing and Using Nmap Security Scanner in Windows
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 - Part 3
- Change or Modify the Drive Letter and Paths in Windows Vista
- How to Mount USB Disk Drive in UNIX or Linux
- Change and Reset MySQL root Password
































