echo -n "Commande 2 : " find / -name *.txt >/tmp/monfind.txt 2>&1 & ps | grep -sq find while test `echo $?` -eq 0 do activity ps | grep -sq find done echo -e "\b" cat /tmp/monfind.txt echo -e "done."