Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Use <a href="http://google.com/search?q=man+pkill" rel="nofollow noreferrer">pkill</a> instead. There is also a pgrep.</p> <p>This will do what you want, and how much simpler can you get?</p> <pre><code>pkill firefox </code></pre> <p>Using the -9 option to pkill would be what you currently do; however, avoid SIGKILL:</p> <blockquote> <p>Do not use this signal lightly. The process will not have any chance to clean up. It may leave behind orphaned child processes, temporary files, allocated locks, active shared memory segments, busy sockets, and any number of other resource state inconsistencies. This can lead to surprising and hard to debug problems in the subsequent operation of the system. [<a href="http://www.wlug.org.nz/SIGKILL" rel="nofollow noreferrer">wlug.org</a>]</p> </blockquote> <p>And:</p> <blockquote> <p>By the way, this is one reason you should not routinely use SIGKILL. SIGKILL should only be used when a process is hung and cannot be killed any other way. If you use a SIGTERM or SIGINT in the python script, you will see that mplayer WILL leave the terminal in a USABLE state. If you routinely use SIGKILL programs do not have a chance to clean up anything and can adversely affect your whole system in some situations.</p> <p>SIGTERM is the default signal sent by the kill shell command. SIGINT is the signal sent from a terminal interrupt (control-C). [<a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=411416" rel="nofollow noreferrer">debian.org</a>]</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload