linux - how do i source .bashrc remotely -


I am currently writing a script to set some paths in a remote machine using ssh. I have successfully set the variable in .bashrc. However, this is the last step of my script "source .bashrc" However, when I manually ssh on the machine, then PATH is still not set. What's the problem?

If on computer A, you set PATH on Computer B , A script that runs through a script in

Comments

Popular posts from this blog

MySql variables and php -

php - Laravel - Overriding a resource route into a different route filter group -

url rewriting - How to implement the returnurl like SO in PHP? -