🧀 Learn Linux

Advanced · Let commands collaborate

source: Read the script in the current Shell

Syntax

source file

Examples

source .profile

Usage and sandbox support

For review only: practice in a real Linux environment, this sandbox does not execute this command. The file contents will be executed in the current session.

This command is for reference and review, and the simulation terminal does not provide corresponding exercises yet.

Full documentation ↗

Related commands