Hack 93. Kill Command Examples

    kill command can be used to terminate a running process. Typically this command is used to kill processes that are hanging and not responding.

    Please note that the above command tries to terminate the process graciously by sending a signal called SIGTERM. If the process does not get terminated, you can forcefully terminate the process by passing a signal called SIGKILL, using the option -9 as shown below. You should either be the owner of the process or a privileged user to kill a process.

    Now do the following, to identify and kill all httpd processes.