![]() Tmux is a good option available to run your long-running processes in the background. ![]() for that reason, I always resume with screen -d -r to ensure that if another shell is attached to my screen session, it will be detached before I resume it on my current system. if you log in from a bunch of different systems, you may have accidentally left yourself attached to an active screen session on a different computer.CTRL+ a, p to switch to the previous window in your screen session.CTRL+ a, n to switch to the next window in your screen session.While in a screen session, try ctrl+a,? to learn a few common commands. Screen is a very comprehensive tool, and can do a lot more than what I've described. Then check out the progress of your long-running process! When you come back to your laptop: ssh -r #resume the screen session ![]() It is super awesome! ssh #start a screen sessionĬTRL+ a, d to detatch from your screen session exit #disconnect from the server, while run-a-long-process continues ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |