Toggle on/off the touchpad of your notebook in linux

In case you may get annoyed when typing in your favorite editor in Linux by touching the Notebook Touchpad by mistake and doing strange actions, you can choose to temporarily disabled or toggle it. Here is a little script, you can run it once per session and it won’t be permanent after a reboot. This has been tested under CentOS 6.x and RedHat 6.x