Saturday, January 3, 2015

Reinitialize .bashrc without logging out

Use the following to reinitialize .bashrc without logging out-

$>syntax- . ./ (dot space dot slash) 

$>source ~/.bashrc 

$>. ~/.bashrc

$>exec bash
 
 
http://stackoverflow.com/questions/16011245/source-files-in-a-bash-script
http://stackoverflow.com/questions/2518127/how-do-i-reload-bashrc-without-logging-out-and-back-in

 

No comments: