Horje Website
Bash How To Leave A Process Running On Remote Server Shell Code
  1. # Short answer:
  2. # Learn how to use screen
  3. # Basic syntax:
  4. # After logging in to remote server run:
  5. screen # This starts a new screen.
  6. # After starting a long process, e.g., a download, detach with:
  7. CTRL+a d # To detach from screen, press CTRL+a, release, then press d
  8. # To view active screens:
  9. screen -ls
  10. # To resume active screen:
  11. screen -r # If there is only one active screen
  12. screen -r screen_number # If there are multiple active screens
November 1, 2022
Live Code

This article was posted in Live Code. Bookmark the permalink. Follow comments with the RSS feed for this post.Post a Comment or leave a trackback: Trackback URL.

Leave a Reply

Your email address will not be published. Required fields are marked *


Horje © 2011 - 2023