Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
You cannot remember an open session, but you can run screen or tmux via ssh, then it will be saved in the screen or tmux session until you end the session.
If the session is simply terminated, then you can return to it through screen -r.
If by "do not lose the session" you mean a process that you have running in the terminal, then you can send it to run in the background with Ctrl+Z, bg
, open screen/etc, and then return it with fg
.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question