GNU SCREEN

  1. To Enter Into Screen Session Just type “screen”
I am in screen and written simple hello world
detached from screen or move out from screen session
list of screens
screen session with name deepak is created
resuming to screen session or reattaching to screen session with name or pid
remove screen sessions
I have created 5 window in screen byb pressing ctrl+a -c

GNU SCREEN TO KEEP PROCESS RUNNING WITHOUT LEAVING MACHINE ON OR CONNECTED

  1. I am logged In To My Server Using SSH In Two Terminal Both Using Same User Account And Using Same Remote Machine As Shown
TERMINAL 1
TERMINAL 2
a.py
a.py script running on terminal 1
pid =4375
we have no process running pid=4375
  1. After login type screen and then run python a.py in screen in terminal 1as shown
script is running in terminal 1 using screen
pid=4540 which is running using screen in terminal 1
4540 still running after closing terminal 1 because we run the script in screen

--

--

--

python developer

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Interactive documentation, type docs & new landing page

Cost & Usage Analysis in the Billing Dashboard with Invoices and CSV Files

Try Out Pakket Casino Albert Heijn

Try Out Pakket Casino Albert Heijn

How to write LaTeX math formulas on Medium in a simple way

Server hang with 100% CPU on Sitecore 10.1

How to download CCFOX App?

How I Became a Google Developer Expert (GDE)

ArcGIS Survey123 Feature Report Generation with ArcPY Module

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
deepak kathuria

deepak kathuria

python developer

More from Medium

How to mock dateTime in Flutter

Documenting API using Postman.

Chrome Extension Development— Add this to Your Skill Set

Dependency Injection in a Nutshell