mercredi 28 juin 2017

display a1b2c3...z26 by creating 2 process and each process run seperatley with a random sleep of 1 to 5

display a1b2c3...z26 by creating 2 process and each process run seperatley with a random sleep of 1 to 5

is there any way to show off the process 1 has to wait for process 2 respectively p1 will generate abcdef... with sleep $[ ( $RANDOM % 5 ) + 1 ]s p2 will generate 12345..with sleep $[ ( $RANDOM % 5 ) + 1 ]s




Aucun commentaire:

Enregistrer un commentaire