# killall mozilla-bin
# pkill mozilla
# fuser -k /dev/dsp
# ps aux | grep mozilla | awk '{print $2}' | xargs kill
$ sudo ps -ef | grep flask | grep -v grep | awk '{print $2}' | xargs kill -9
ps -ef | grep flask Find all flask processes.
grep -v grep Filter process lines containing grep.
awk '{print $2}' The parameter in the second column of the extracted process row record is the process number of the flask.
xargs kill -9 Pass all the preceding arguments to the following command kill -9.