kill all the processes of a user in linux code example Example: how to kill process by command bu username #on a cluster #sbatch process scancel -u username