#!/bin/bash echo 'Start.' read -p 'Enter your name : ' name echo "Hello dear $name" read -p 'Enter your code : ' -t 2 code if [ -z $code ] then echo 'Too late.' else echo 'Fast ! Your entry :' echo $code fi