Impatiently wait for input
bash, 38 bytes

read -t10||a=no;echo $a input received


This uses the -t (timeout) option to bash's read, which causes it to fail and return a nonzero exit code if no input is given in the specified number of seconds.