Linux Commands Helper

💬 Your AI-powered Linux assistant

source Command - Execute Commands from File

The source command is used to execute commands from a file in the current shell. It is commonly used to reload environment variables or run shell scripts without starting a new shell.

Syntax

source filename

Examples

source ~/.bashrc

Reload the current user's bash configuration.

source script.sh

Run commands from script.sh in the current shell.

Notes

  • source is a shell built-in command (also available as a dot . in POSIX shells).
  • Changes made by source affect the current shell session.

© 2025 Linux Commands Helper. All rights reserved.

This project is under construction. Feedback and contributions are welcome.

Fazier badgeFeatured on Startup Fame