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
- How to Calculate and Generate MD5 Hash Value in Linux and Unix with md5sum
- Hard Refresh
- How to Disable Linux and Unix Cron Jobs (Crontab) Email Sending
- Change Group Ownership of Symbolic Links in Unix or Linux
- How to Make or Create Symbolic Link in Unix or Linux
- Running Google Earth on Suse Linux with VMware
- Auto Shutdown and Restart Apache HTTPD Service Daemon at Preset Time
- Refresh your Monitor
- Installing Web Server in FreeBSD 6.0 with Apache 2.2, MySQL 5.0 and PHP 5 – Part 3
- Installing and Using Nmap Security Scanner in Windows









































