I\'m wondering how to get the MouseClick and MouseMove events in bash scripting for my own simple OS events.
Please tell me how to get that events.
the bash doesn't know anything about an mouse or mouse-clicks. By default there is no cursor or something like that.
You could install the "General Purpose Mouse Server". Look at this: http://www.linuxfromscratch.org/blfs/view/6.3/general/gpm.html for example to use copy and paste inside an console. Maybe you can use the tools to work with your bash - script.
...but at all: there is no native mouse support for the bash-shell