Linux Screen Cheatsheet Rumi, February 11, 2023July 3, 2024 To create a screen screen List all the detached (running) screens with their screen IDs. screen -list Connect / Attach to a specific running screen. screen -x [screen id] While in a screen to Terminate / Stop a screen from running. Ctrl + D While in a screen to detach from screen without disturbing it. Ctrl + A, Then press D Detach or terminate all screens. killall screen See current screen sessions: $ screen -ls There are screens on: 4964.myprogramrunningunderscreen (05/31/2013 09:42:29 PM) (Detached) 4874.pts-1.creeper (05/31/2013 09:39:12 PM) (Detached) 2 Sockets in /var/run/screen/S-paul. As a bonus, you can use an unambiguous abbreviation of the name you pass to -S later to reconnect: screen -r myprog or if that fails you can use additional switch- screen -d -r myprog Administrations Configurations (Linux) Screen