Read a single character from standard input with prompt "Is this a good question (y/n)? " and timeout of 3 seconds and save the response to variable "answer"
read -t 3 -n 1 -p "Is this a good question (y/n)? " answer