Question :What is 'ps' command for?Question :How would you kill a process?
Answer :The ps command prints the process status for some or all of the running processes. The information given are the process identification number (PID),the amount of time that the process has taken to execute so far etc.
Answer :The kill command takes the PID as one argument; this identifies which process to terminate. The PID of a process can be got using 'ps' command. -9 is the option given