kill screen session from outside code example Example: kill screen session from outside screen -X -S [session # you want to kill] kill