I added new alias into .bashrc
Running .bashrc doesn't create that alias but new log in yes.
Could you somebody explain why is that so and how I can test if the new .bashrc works without doing test log in?
|
feedback
|
|
"exec bash" should do it. Basically just restarts the bash shell, reading .bashrc in the process. | |||||||||||||||
feedback
|
|
You can source the file using
or
That will re-read and execute the lines in the file in the current session. | |||
|
feedback
|