linux kill backgrounf processes code example Example: how to clear background jobs ps -eaf | grep [w]get kill PID_number