# find the user session tty w # find the pid of the tty ps -ft <tty> (process select using <tty> and format) kill <pid> or kill -9 <pid> or pkill -9 -t <tty> (-9 is for forceful)