Execute Shell Script - Source Files on Linux/macOS | Online Free DevTools by Hexmos

Execute shell scripts with Source on Linux/macOS. Run commands from files, modify current shell environment, and streamline workflow. Free online tool, no registration required.

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}}