LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Bash to instruct parent process to exit by certain PID's kill (https://www.linuxquestions.org/questions/programming-9/bash-to-instruct-parent-process-to-exit-by-certain-pids-kill-4175717469/)

BudiKusasi 10-05-2022 07:16 PM

Bash to instruct parent process to exit by certain PID's kill
 
How is the correct bash command/instruction to exit parent process by certain signal or PID's kill when being in child process?

grail 10-05-2022 08:47 PM

Have a look at the "trap" command


All times are GMT -5. The time now is 09:08 PM.