kill process by name windows 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