Je suis writting un script shell et je veux ces commandes à exécuter en même tempsexécuter quelques commandes simultanément
find ./incoming/kontraktor/ -type f -name '*.html' | sort | awk 'NR % 3 == 1' | ./bin/foo.py -m 3 -b 1 | next_command >> log/foo_log.log 2>&1
find ./incoming/kontraktor/ -type f -name '*.html' | sort | awk 'NR % 3 == 2' | ./bin/foo.py -m 3 -b 2 | next_command >> log/foo_log.log 2>&1
find ./incoming/kontraktor/ -type f -name '*.html' | sort | awk 'NR % 3 == 0' | ./bin/foo.py -m 3 -b 3 | next_command >> log/foo_log.log 2>&1
est-il possible d'utiliser & de laisser tous à courir en même temps? Si c'est possible, puis-je exécuter la commande suivante pour sortir le journal seulement après l'exécution des trois commandes ci-dessus?
tail log/foo_log