How can I make the result of one command to be an argument of another? I'm trying to kill child process by pid of parent process and use for it pgrep
Example: pgrep -P <PID>
But after I need to kill the PID which I get from pgrep
pgrep -P <PID> | kill  - it doesn't work(
Thank you!
 
     
     
     
     
    