Technical questions on bash,mysql and pHp

  1. bash
    -bash escape rules, esp. ',",
    -how to use Ctrl+R reverse cmd search with regex?

  2. mysql
    -how to use grep in mysql

  3. php
    -why !0 is not evaluated to true? what's its value
    -php getopt: what if there is duplicate in cmdline args

Such disparate questions!

What's your point? If it's homework, you know the gig: Rules for posting homework :slight_smile:

Please help me with the questions and I am trying to learn online on my own.