This is a slowly growing collection of hopefully useful and reusable shell functions and patterns. https://code.jan.io/jan/jans_shell_utils
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

3 lignes
165B

  1. # if you run a script that launches other processes, and you want to make sure those processes exit when your script exists, this helps:
  2. trap 'kill $(jobs -p)' EXIT