0
2

More than 3 years have passed since last update.

source コマンドでシェルの設定を反映する

Posted at

sourceコマンドはシェルの設定を、現在のシェルに反映する。
例えば、.bashrc.zshrc編集して、すぐにその変更内容を反映させたい時などにsourceコマンドを実行する。

# .bashrc の内容を反映する
source ~/.bashrc
# .zshrc の内容を反映する
source ~/.zshrc
0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2