pkill Linux Command
Sends a signal to processes based on name and other attributes.
What does pkill do?
Sends a signal to processes based on name and other attributes.
Syntax
pkill [options] patternPractical example
pkill -f 'python script.py'Related Process Commands
killallKills all processes matching a given name.
bgResumes a suspended job in the background.
killSends a signal to terminate a process by its PID.
fgBrings a background job to the foreground.
htopEnhanced, more user-friendly version of top with color and mouse support.
jobsLists active jobs (background and suspended processes) in the current shell.