Restart your shell session in Linux (reprocess your initialization files)
To restart your shell session in Linux, use the source
command to reprocess the user initialization files stored in your home directory.
To determine your shell, enter:
echo $SHELL
For example:
[dsidious@dstar2 ~]$ echo $SHELL
/bin/bash
Use source
(or its shortcut .
) to reprocess the initialization files in your home directory:
Shell | Files | Commands |
---|---|---|
csh /tcsh |
|
|
ksh |
.profile |
source ~/.profile |
bash |
|
|
If .bash_profile
is not present, reprocess .profile
; enter:
source ~/.profile
At Indiana University, for personal or departmental Linux or Unix systems support, see Get help for Linux or Unix at IU.
This is document aeee in the Knowledge Base.
Last modified on 2023-07-14 08:41:23.