When I define new alias in
.bash_aliases file or new function in
.bashrc file is there some refresh command to be able immediately use the new aliases or functions without closing terminal (in my case xfce4-terminal with a few tabs open, many files open and in the middle of the work)?
Sourcing the changed file will provide access to the newly written alias or function in the current terminal, for example:
An alternative syntax:
Note that if you have many instances of bash running in your terminal (you mentionned multiple tabs), you will have to run this in every instance.