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