in reply to how to terminate a program?

kill can be used to kill another process.