linux how to kill a process by name code example
Example 1: how to kill process by command name
pkill firefox
Example 2: kill process by name
#on a cluster #sbatch process
scancel -u username
pkill firefox
#on a cluster #sbatch process
scancel -u username