bash : how to use screen to have a term session used at home after work?
-
03-07-2019 - |
Question
Everything is in the title, I would like to start a session at work and be able to get it when i'm at home.
Solution
While at work, start a screen session:
$ screen
Do whatever work you want on the terminal session, and when you are leaving to go home, detach the session by pressing CTRL-A then D. Your screen session will then disappear. To re-activate it once you are home, resume the session with the -r option:
$ screen -r
All your work will appear as you enter the saved screen session.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow