title: Can I write linux GPIO interrupt handler using bash
body: <p>I know I can use those bash commands to deal with GPIO value and the status.</p>
  
  <pre><code>echo "4" &gt; /sys/class/gpio/export
  echo "1" &gt; /sys/class/gpio/gpio4/value
  echo in &gt; /sys/class/gpio/gpio17/direction
  echo falling &gt; /sys/class/gpio/gpio17/edge
  </code></pre>
  
  <p>I can set GPIO 17 as a interrupt pin by bash command now,
  but can someone tell me how to write a interrupt handler using bash.</p>