linux remove screen sessions code example Example: kill screen $ screen -X -S [session # you want to kill] quit