Kill linux zombie processes

Get the list of zombie processes:

BASH

Get the parent process of each of the processes listed above (second column)

BASH

Kill the parent process from the above output

BASH