[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: shell script sniplets in /usr/bin?



On Sun, 30 Jan 2005, sean finney wrote:

> think about the purpose path is supposed to serve.  the bash man page
> says PATH is "The search path for commands".  it mentions nothing of
> shell scripts to be included/sourced.

This is from bash(1):

        . filename [arguments]
   source filename [arguments]

  Read and execute commands from filename in the current shell
  environment and return the exit status of the last command executed
  from filename.  If filename does not contain a slash, filenames in
  PATH are used to find the directory containing filename. The file
  searched for in PATH need not be executable.



Reply to: