tasklist = top, or ps -aux (That's what I always did.)
kill PID (Process ID) would end a program while following the program's closing procedure, sends the "SIGTERM" signal.
kill -9 PID would end a program with the "SIGKILL" signal, which instantly kills it, without caring what the program has to say about it or wants to do before closing.