71. The kernel identifies the driver with its
72. What is the output of the following command for bash shell:
echo linux $0
echo linux $0
73. Which one of the following is not contained in the kobject data structure?
74. Which command is used to close the vi editor?
75. The persistancy of a FIFO is
76. What is the output of this program?
#include<stdio.h>
#include<stdlib.h>
int main()
{
char *ptr;
ptr = (char *)malloc(sizeof(char)*8);
ptr = "example";
printf("%s\n",*ptr);
return 0;
}
#include<stdio.h>
#include<stdlib.h>
int main()
{
char *ptr;
ptr = (char *)malloc(sizeof(char)*8);
ptr = "example";
printf("%s\n",*ptr);
return 0;
}
77. 'kill %s' command will
78. In which directory every kernel module of the system is represented?
79. Command used to count number of character in a file is
80. What is the output of this program?
#include<stdio.h>
#include<fcntl.h>
int main()
{
int fd, count;
fd = open("demo.c",O_RDONLY);
count = write(fd,"Linux",5);
if(count != 5)
perror("write");
return 0;
}
#include<stdio.h>
#include<fcntl.h>
int main()
{
int fd, count;
fd = open("demo.c",O_RDONLY);
count = write(fd,"Linux",5);
if(count != 5)
perror("write");
return 0;
}
Read More Section(Linux)
Each Section contains maximum 100 MCQs question on Linux. To get more questions visit other sections.