screen killed when exit ubuntu code example Example 1: screen kill all killall screen Example 2: how to remove a screen session screen -X -S enter_screen_id_here kill