I have a script like this
echo "Enter your id"
When i execute above script it will prompt for entering the id, then if i press ^C or ^D it will come out of script.
I want to restrict this, even if i press ^C or ^D it should not allow me to come out script.
how to do this.