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.


Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. To receive notification of latest comments posted, subscribe to My Digital Life Comments RSS feed or register to receive new comments in daily email digest.
Custom Search

New Articles

Incoming Search Terms for the Article

update path linux - refresh PATH - rehash Linux - how to update path in linux - reset path linux - rehash unix - unix rehash - linux rehash - ubuntu reload environment - linux reload environment - linux reset PATH - linux refresh path - refresh path ubuntu - linux update path - ubuntu reload PATH - UBUNTU restore PATH - how to refresh in linux - refresh path linux - linux reload environment variables - updating path in linux - update linux path - reset path ubuntu - ubuntu rehash - how to update environment variables linux - linux refresh command - refresh linux env - refresh command in linux - reload environment linux - linux reload path - linux path reload - linux refresh - refresh profile linux - linux command refresh - linux command to refresh the screen - restore PATH ubuntu - ubuntu $PATH reload - refresh linux nic command - freebsd refresh path - refresh command linux - how to reload the path in linux - "environment variables" linux refresh - reload ubuntu environment variables - unix refresh env - commande refresh path ubuntu - refreshing path in bash - refresh /media in unix - refresh env home unix cron - reset linux environmental variable - how to reset unix PATH environment variable - linux reload env -