Make sourced .bash_profile works immediately in current window
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I use a macOS to connect to an Ubuntu server, after defining new .bash_profile (like upgrading node.js or making new alias), I will have to exit the ssh and login again after sourcing the .bash_profile before the updated bash to take effect is it possible to refresh the session in current terminal ssh session?
terminal bash ssh
add a comment |Â
up vote
1
down vote
favorite
I use a macOS to connect to an Ubuntu server, after defining new .bash_profile (like upgrading node.js or making new alias), I will have to exit the ssh and login again after sourcing the .bash_profile before the updated bash to take effect is it possible to refresh the session in current terminal ssh session?
terminal bash ssh
1
I'm voting to close this question as off-topic because this has nothing to do with Apple software or hardware. It is to so with the software on the Ubuntu server
â Mark
2 hours ago
The question also appears on Ask Ubuntu: askubuntu.com/q/1085552/10127
â glenn jackman
1 hour ago
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I use a macOS to connect to an Ubuntu server, after defining new .bash_profile (like upgrading node.js or making new alias), I will have to exit the ssh and login again after sourcing the .bash_profile before the updated bash to take effect is it possible to refresh the session in current terminal ssh session?
terminal bash ssh
I use a macOS to connect to an Ubuntu server, after defining new .bash_profile (like upgrading node.js or making new alias), I will have to exit the ssh and login again after sourcing the .bash_profile before the updated bash to take effect is it possible to refresh the session in current terminal ssh session?
terminal bash ssh
terminal bash ssh
asked 3 hours ago
aeroxy
1,31261839
1,31261839
1
I'm voting to close this question as off-topic because this has nothing to do with Apple software or hardware. It is to so with the software on the Ubuntu server
â Mark
2 hours ago
The question also appears on Ask Ubuntu: askubuntu.com/q/1085552/10127
â glenn jackman
1 hour ago
add a comment |Â
1
I'm voting to close this question as off-topic because this has nothing to do with Apple software or hardware. It is to so with the software on the Ubuntu server
â Mark
2 hours ago
The question also appears on Ask Ubuntu: askubuntu.com/q/1085552/10127
â glenn jackman
1 hour ago
1
1
I'm voting to close this question as off-topic because this has nothing to do with Apple software or hardware. It is to so with the software on the Ubuntu server
â Mark
2 hours ago
I'm voting to close this question as off-topic because this has nothing to do with Apple software or hardware. It is to so with the software on the Ubuntu server
â Mark
2 hours ago
The question also appears on Ask Ubuntu: askubuntu.com/q/1085552/10127
â glenn jackman
1 hour ago
The question also appears on Ask Ubuntu: askubuntu.com/q/1085552/10127
â glenn jackman
1 hour ago
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
3
down vote
You can refresh the settings by running
. ~/.bashrc
This will reread (source) the file.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
3
down vote
You can refresh the settings by running
. ~/.bashrc
This will reread (source) the file.
add a comment |Â
up vote
3
down vote
You can refresh the settings by running
. ~/.bashrc
This will reread (source) the file.
add a comment |Â
up vote
3
down vote
up vote
3
down vote
You can refresh the settings by running
. ~/.bashrc
This will reread (source) the file.
You can refresh the settings by running
. ~/.bashrc
This will reread (source) the file.
edited 1 hour ago
answered 2 hours ago
nohillsideâ¦
49.3k13108144
49.3k13108144
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fapple.stackexchange.com%2fquestions%2f340130%2fmake-sourced-bash-profile-works-immediately-in-current-window%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
I'm voting to close this question as off-topic because this has nothing to do with Apple software or hardware. It is to so with the software on the Ubuntu server
â Mark
2 hours ago
The question also appears on Ask Ubuntu: askubuntu.com/q/1085552/10127
â glenn jackman
1 hour ago