Dot (command)

In a Unix shell, the full stop called the dot command (.) is a command that evaluates commands in a computer file in the current execution context.[1] In the C shell, a similar functionality is provided as the source command,[2] and this name is seen in "extended" POSIX shells as well.[3][4]

The dot command is not to be confused with a dot file, which is a dot-prefixed hidden file or hidden directory. Nor is it to be confused with the ./scriptfile notation for running commands, which is simply a relative path pointing to the current directory (notated in Unix as a '.' character, and typically outside of the Path variable).

  1. ^ "POSIX.1:2013 Shell Command Language § dot". Retrieved 23 May 2016.
  2. ^ "Csh man page#command". Retrieved 23 May 2016.
  3. ^ Cite error: The named reference bashref was invoked but never defined (see the help page).
  4. ^ Cite error: The named reference zshdoc was invoked but never defined (see the help page).

© MMXXIII Rich X Search. We shall prevail. All rights reserved. Rich X Search