python command to kill all processes code example Example: kill all python processes ubuntu sudo pkill python sudo pgrep python