FYI:
sourceing for different shells;
sh/ksh/bash:
. <path_to_envfile>
thats 'dot space path_to_env_file' where your env file is either .profile, .kshrc, or .bashrc(or .bash_profile)
csh/tcsh:
source <path_to_env_file>
thats 'source path_to_env_file' where your env file is either .cshrc or .tcshrc
all the above env files would normaly be found in your home directory for your user.
examples:
. /export/home/bob/.profile
source /home/jane/.cshrc
Lastly, logging your user out and back in will achieve the same results.
Quote:
Originally posted by stickman
You don't have to reboot just because your changed your PATH or modified your .profile. You can simply re-source your .profile.
|