How to stop a screen process in linux?

David picture David · Jun 10, 2011 · Viewed 93.8k times · Source

I am running a script on a remote server. I ran the script in screen, however I need to stop it before it completes since I need to update the script. I can easily detach from screen, however, is there a way to kill a screen process?

Answer

Nik picture Nik · Jun 10, 2011

CTRL+a and then 'k' will kill a screen session.