Bonsoir le forum.
Je cherche à faire la même chose que la combinaison ctrl+c en commande. Vous pouvez m'aider ?
Forum Programmation.shell ctrl+c
19
juin
2008
reb=`echo $line | awk ' { print $1 }'`
heure=`echo $line | awk ' { print $4 }if [$reb="reboot"]
#!/bin/kshmore procList | while read linedoNomProc=$(ps -A | grep `echo $line | awk '{print $1}') if [ $? -eq 1 ] ; then echo "$NomProc ne tourne pas." >> (…)