Reload .bash_profile without logging in again
Update your session to new settings in .bash_profile without logging out and back in again.
At the prompt enter:
add the following line to your .bash_profile or .bash_aliases file
alias reload='source $HOME/.bash_profile'
source ~/.bash_profile the command
reload will be available to do the same thing :)
Get regular Shell tips & tutorials direct to your Inbox.
- Get file type information from the command line
- Use screen to manage persistent sessions
- Piping between shells
- Re-execute command line with !
- Control-R Through Your History