title: What is the bash equivalent of `modpath` in csh?
body: <p>This is the error that I got.</p>
  
  <pre><code>modpath: Command not found.
  </code></pre>
  
  <p>I'm suspecting that it's because <code>modpath</code> is a csh command but not the right syntax for bash. So, I want to know what's its equivalent in bash. Thanks!</p>
  
  <blockquote>
    <p>modpath - change global search path for dynamically loadable kernel modules</p>
    
    <p>modpath allows users with appropriate privilege to modify the global search path used to locate object files for dynamically loadable kernel modules. The search path modifications take effect immediately and affect all subsequent loads for all users on the system.</p>
    
    <p>pathname may be either a colon-separated list of absolute pathnames or NULL. If the former, these path names represent directories which should be searched for all autoloads of loadable kernel modules and for demand loads (see modload(2)) where the module is given by a simple file name.    This list of directories will be prepended to the existing list of directories and so will be searched before any directories given in previous calls to modpath and before the default location which is always searched last.  The directories do not have to exist on the system at the time modpath is called, or when a load actually takes place. If pathname is equal to NULL, the global search path is set back to its initial default value, /stand/dlkm/mod.d.</p>
    
    <p>Notes: modpath is currently implemented as a macro.</p>
  </blockquote>
  
  <p>[source: <a href="http://modman.unixdev.net/?sektion=2&amp;page=modpath&amp;manpath=HP-UX-11.11]" rel="nofollow noreferrer">http://modman.unixdev.net/?sektion=2&amp;page=modpath&amp;manpath=HP-UX-11.11]</a></p>