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

refresh path - linux update path - unix rehash - refresh path ubuntu - how to refresh in linux - how to update path in linux - linux reload PATH - path rehash - refresh profile linux - linux rehash - ubuntu reload environment - rehash Linux - update path linux - linux refresh profile - linux update path command - linux reload environment variables - updating linux PATH - linux reload environment - linux refresh path - linux reset PATH - ubuntu restore path - rehash unix - refresh linux env - refresh path linux - reload environment linux - reset path linux - linux command refresh - command to refresh in unix system - how to update linux PATH - refresh path changes - update environment variables linux - what does rehash do in unix? - How to reset a variable in Linux - how to reset path in linux - Linux how to update path - linux refresh directory - refresh path unix - refresh path solaris - update $PATH linux - windows unix rehash - windows server reload variable path - freebsd refresh path - how to reset the path in unix - how to reload env linux - linux reset $PATH - refresh environment variable unix - refresh a file in unix - rehash paths - reload path in linux - reload path in ubuntu -