linux exit all screens code example Example 1: screen kill all killall screen Example 2: kill screen $ screen -X -S [session # you want to kill] quit