command to refresh bashrc code example Example 1: reload bashrc . ~/.bashrc Example 2: linux refresh .bashrc source /etc/bash.bashrc