$
학습 Linux 안내서
ko
XP:0
퀘스트 119Config Reloader
+200 XP

Reloading Shell Configs (source & .bashrc)

이 퀘스트를 위한 인터랙티브 터미널 시작→설치 불필요 • 브라우저에서 바로 실행

개념 및 개요

When you edit your startup scripts like ~/.bashrc to add new environment variables or aliases, those changes do not automatically affect your current shell session. Traditionally, users had to log out and log back in. In Linux, we use the source command (or its POSIX shorthand .) to read and execute commands from a file directly in the current shell context.

- Syntax: source ~/.bashrc or . ~/.bashrc
- This loads newly defined variables, updated $PATH directories, and aliases immediately without killing your session.

Let's reload your shell configuration without logging out. Apply the settings in your home configuration file by running source ~/.bashrc (or . ~/.bashrc).

명령어 구문 참조

Command / SyntaxDescription
source ~/.bashrcExecute commands from .bashrc in current shell
. ~/.bashrcPOSIX dot alias for source command

검증 목표

  • ○
    Run source ~/.bashrc or . ~/.bashrc

퀘스트를 완료할 준비가 되셨나요? 119?