La combinaison de touche ^Z (Control F
) stoppe toute commande en cours d'exécution. Le processus n'est plus actif mais peut reprendre si on lui envoie le bon signal.
Exemple :
beyrouth ~/doc/unix $ gcc toto.c -c zsh: 295 suspended gcc toto.c -c beyrouth ~/doc/unix $ ps PID TTY STAT TIME COMMAND 150 p1 S 0:03 zsh 276 p1 S N 0:09 xdvi unix.dvi 295 p1 T 0:00 gcc toto.c -c 296 p1 R 0:00 ps beyrouth ~/doc/unix $ kill -9 295 [2] + 295 killed gcc toto.c -c beyrouth ~/doc/unix $