how to end a screen session in linux code example Example: kill screen session from outside screen -X -S [session # you want to kill] kill