Refresh Linux or Unix Path Environmental Variables with rehash

»»»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.

By |2016-12-09T08:43:11+00:00December 9th, 2016|Categories: Linux|Tags: , |2 Comments

About the Author:

LK is a technology writer for Tech Journey with background of system and network administrator. He has be documenting his experiences in digital and technology world for over 15 years.Connect with LK through Tech Journey on Facebook, Twitter or Google+.