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
Post a Comment