Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is a Unix signal, and how do you handle them?

Answer Posted / hr@tgksolutions.com

A signal in Unix is an asynchronous notification sent to a process to notify it of an event, such as an interrupt or termination request. Common signals include:
• SIGINT: Interrupt signal (usually sent by pressing Ctrl+C).
• SIGTERM: Termination signal, which can be caught and handled.
• SIGKILL: Forces a process to terminate immediately and cannot be caught.
Signals can be handled using signal handlers in shell scripts or programming languages like C.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between grep and find command in unix?

1276


What is merge command in unix?

1558


What is grep and how do you use it?

1175


How does pipe () work?

1146


When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system. How can i findthe right soluion??? My pgm: #include # include int main() { int pid; pid=fork(); if(pid < 0) {exit(-1);} else if(pid==0) { printf("Child Process is Sleeping ..."); sleep(10); printf("Orphan Child's Parent ID : %u ",getppid()); } else { printf("Parent Process Completed ... %u ",getpid()); exit(0); } return 0; } Output:

2318


What is the nmap command?

1240


What do chmod command do?

1288


Explain command to show the space allocation of files?

1170


What happens when we execute a unix command?

1200


Who command in unix operating system?

1191


What is the use of the tee command?

1153


Is ‘du’ a command? If so, what is its use?

1202


What are file commands?

1288


What does the command '$ls | wc –l > file1' do?

1300


Differentiate cat command from more command.

1205