source ~/.bashrc
or source ~/.zshrc
in the command line, the user's shell configuration file can be loaded and run to update the settings of the current shell environment.source script.sh
in the command line, a script file can be run and the variable and function definitions in it can be loaded into the current environment.source venv/bin/activate
in the command line, the specified Python virtual environment can be entered and the PATH and other settings of the current shell environment can be updated.