How do I change the color of current cursor position indicator?

Viewed 5907

when I open a terminal I have a black background with white characters. I also have a green placeholder that indicates to me where currently is the cursor.

This behaviour is the same during any perl script that is running in the terminal.

How can I change within the script the color of the cursor indicator (specifically, I want it to disappear for a while and then come back)?

I'm using Linux and bash.

4 Answers
Related