how to kill tasks in linux code example
Example 1: how to kill running process in linux
ps ux # list the running Process with PID
kill xxxx # hear xxxx is the process id
Example 2: kill process by name
#on a cluster #sbatch process
scancel -u username