title: Why I am not getting signal SIGKILL on kill -9 command in bash?
body: <p>In bash script I handle different signal as follows:</p>
  
  <pre><code>#!/bin/bash
  
  sighdl () 
  {
    echo "signal caught"
    #do something
    exit 0
  }
  
  trap sighdl SIGKILL SIGINT SIGTERM
  </code></pre>
  
  <p>Above code handle signal properly for following activity:</p>
  
  <ol>
  <li><kbd>Ctrl</kbd>+<kbd>C</kbd></li>
  <li><code>kill pid</code></li>
  <li><code>pkill scriptname</code></li>
  </ol>
  
  <p>For <code>kill -9 pid</code> it does not call <code>sighdl</code>. As per my understanding (if I am not wrong) <code>kill -9</code> sends the SIGKILL signal.</p>
  
  <p>Any idea?</p>