1) In your own session; e.g. jobs were submitted, but you never logged out:
ps # list jobs
kill -9 < process id> # kill it
2) In a separate session
# process ID appears as column 4
ps -elf | grep -i <keyword>
kill -9 < process id> # kill it
3) For device (or file)
# find out who is logged in from where
w
# select device, and add /dev ... then use the fuser command
fuser -k /dev/pts/3
|
|