Files
tldr/pages/common/source.md
T
2025-08-23 17:56:58 +03:00

319 B

source

Execute commands from a file in the current shell. More information: https://www.gnu.org/software/bash/manual/bash.html#index-source.

  • Evaluate contents of a given file:

source {{path/to/file}}

  • Evaluate contents of a given file (alternatively replacing source with .):

. {{path/to/file}}