how to update .bashrc file in linux without opening it code example Example: restart bashrc . ~/.bashrc