thanks for the info mixmaster, much appreciated.
thanks for the info mixmaster, much appreciated.
why can i not say thank you to anyone in here, nor can i mark this thread as solved.. weird... ??
The feature has been disabled for a bit.
Here
I always thought the command to use was source, such as
source ~/.bashrc
Is this incorrect?
No, you are correct. 'source' and '.' are equivalent to one another - see here.
Thanks for that tip -- I didnt know they were equivalent -- maybe its just easier for me to remember the name of a command rather than . Using a . sometimes makes for messy syntax if using this in a script.
The easiest way to reload bashrc is to run the command
source .bashrc (assuming your in your home directory) otherwise put in the complete path ie. source ~/.bashrc
Just remember you'll have to do this for all open terminal windows, as they will have already read the bashrc file when they first opened.
Bookmarks