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