set -x
eog&
pid=!$&
sleep 2&&
killall $pid
+ sleep 2
+ eog
+ pid='!$'
setting window size: 845/710
+ killall
usage: killall [ OPTIONS ] [ -- ] name ...
killall -l, --list
killall -V --version
-e,--exact require exact match for very long names
-I,--ignore-case case insensitive process name match
-g,--process-group kill process group instead of process
-i,--interactive ask for confirmation before killing
-l,--list list all known signal names
-q,--quiet don't print complaints
-s,--signal send signal instead of SIGTERM
-v,--verbose report if the signal was successfully sent
-V,--version display version information
-w,--wait wait for processes to die
#Démarrage
# eog&
# pid=$!
# sleep 2&&
# killall $pid