Linux snippets for your daily work

Linux snippets for your daily work
Photo by Gabriel Heinzer / Unsplash

Kill all zombie processes

ps axo stat,ppid,pid,comm | grep -w defunct | awk '{print $2}' | xargs kill -9