PROJET AUTOBLOG


shaarli-Links

Site original : shaarli-Links

⇐ retour index

Bash wait Command | Linuxize

mercredi 24 mars 2021 à 10:21
#!/bin/bash
sleep 3 &
sleep 30 &
sleep 5 &
wait -n
echo "First job completed."
wait
echo "All jobs completed."

Permalink