hi,
while we writing shell script, i want to ignore interrupts likes - "control + C" or "control + \"
coz I just print out the message.
how can i do this?
thanks
min
hi,
while we writing shell script, i want to ignore interrupts likes - "control + C" or "control + \"
coz I just print out the message.
how can i do this?
thanks
min
myoeminn,
can you explain a little more about what you're trying to do? what shell do you use? what's the purpose of your script and why do you have to worry about interrupts?
see 'man trap'
also search the forum for keywords such as signals, trap, INT, HUP KILL
try this
echo " Cntrl + C "