ubuntu kill all processes of user code example Example 1: kill all processes by user killall -u user Example 2: ubuntu kill process for user pkill -u username