The command "source" command or "." is to run a command in the current shell (process), instead of spawning a new child process to run it.
For example,
. ./program1 runs program 1 in the current shell. The same command can be typed as source .program1
./program1 runs program1 in a child shell.
No comments:
Post a Comment