The dot(.) command is a built-in Korn and Bourne shell command.
It takes a script name as an argument. The script will be executed
in the environment of the current shell. A child process will not be
started. The dot command is normally used to reexecute the .profile file
or the ENV file, if either of those files has been modified. For example,
if one of the settings in either file has been changed after you have logged on,
you can use the dot command to reexecute the initialization files without
logging out and then logging back.
The source command is a built-in C shell command.
It causes the program to be executed in the current shell, so that any
variables set within the file will become part of the environment of the
current shell. The source command is normally used to reexecute the .cshrc or .login
if either has been modified.