61. Syntax to suppress the display of command error to monitor?
62. Which option of gcc adds include directory of header files?
63. What happens as the SIGINT signal hits the running process of this program?
#include<stdio.h>
#include<signal.h>
#include<stdlib.h>
int main()
{
pid_t child;
signal(SIGINT,SIG_IGN);
child=fork();
switch(child){
case -1:
perror("fork");
exit(1);
case 0:
while(1){
printf("Child Process\n");
sleep(1);
}
break;
default :
while(1){
printf("Parent Process\n");
pause();
}
break;
}
return 0;
}
#include<stdio.h>
#include<signal.h>
#include<stdlib.h>
int main()
{
pid_t child;
signal(SIGINT,SIG_IGN);
child=fork();
switch(child){
case -1:
perror("fork");
exit(1);
case 0:
while(1){
printf("Child Process\n");
sleep(1);
}
break;
default :
while(1){
printf("Parent Process\n");
pause();
}
break;
}
return 0;
}
64. Which one of the following is a special breakpoint that stops the program when the value of an expression changes in GDB?
65. The command 'umask -S'
66. Relationship between components of device driver models are expressed in the sysfs as
67. The buddy algorithm handles the
68. Which vi editor command copies the current line of the file?
69. Which one of the following is not true?
70. The correct sequence of GCC compilation process is
Read More Section(Linux)
Each Section contains maximum 100 MCQs question on Linux. To get more questions visit other sections.