kill <pid> (where <pid> is the ID of the process to be terminated)kill -s TERM <pid> (where <pid> is the ID of the process to be terminated)kill -s KILL <pid> (where <pid> is the ID of the process to be terminated)lsof -i :<port> (where <port> is the port number to be viewed)kill <pid> (where <pid> is the ID of the process to be terminated)