kill attached screen linux code example Example: linux screen kill attached session screen -X -S SCREENID kill