c program the catches the ctrl-c(SIGINT) Signal for the
first time and prints a output rather and exit on pressing
Ctrl-C again
Answer Posted / dwarf
on Linux:
man 2 signal
for signum use SIGINT
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the advantages of shell scripting?
Rewrite the command to print the sentence and convert the variable to plural: echo “i like $variable”.
How to print the first array element?
What does the sh command do?
What happens on a system call?
Is bash an operating system?
What is the use of echo in shell script?
What does $@ mean in shell?
Is shell scripting a programming language?
What is scripting autism?
Explain how you Automate your application using Shell scripting.
What are the various stages of a linux process it passes through?
Which shell is the best?
Determine the output of the following command: [ -z “” ] && echo 0 || echo 1
Write down the syntax of "for " loop