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

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -