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