21. Sysfs attribute should export . . . . . . . . value per file.
22. How many time "Example" will print in this program?
#include<stdio.h>
#include<stdlib.h>
#include<unistd.h>
int main()
{
if( execl("/bin/ls","ls",NULL) == -1){
perror("execl");
exit(1);
}
printf("Example\n");
return 0;
}
#include<stdio.h>
#include<stdlib.h>
#include<unistd.h>
int main()
{
if( execl("/bin/ls","ls",NULL) == -1){
perror("execl");
exit(1);
}
printf("Example\n");
return 0;
}
23. The process id of init process is:
24. Lp0 device file is used to access:
25. Which command is used to record a user login session in a file
26. Which built-in command performs integer arithmetic in bash shell?
27. Signals are handled using which system call?
28. If example.c is compiled with GCC, then the example.s file will contain the
29. The proc filesystem records the number of interrupts
30. Which command is used to check filesystem usage in a system?
Read More Section(Linux)
Each Section contains maximum 100 MCQs question on Linux. To get more questions visit other sections.