11. What is the output of the program?
#! /usr/bin/awk -f
BEGIN {
a[1,1]=0
a[1,2]=1
a[2,1]=2
a[2,2]=3
for(i=1;i<3;i++) {
for(j=1;j<3;j++) {
print a[i,j]
}
}
}
#! /usr/bin/awk -f
BEGIN {
a[1,1]=0
a[1,2]=1
a[2,1]=2
a[2,2]=3
for(i=1;i<3;i++) {
for(j=1;j<3;j++) {
print a[i,j]
}
}
}
12. The file system information is stored in
13. Mm_struct maintains?
14. SVR4 stands for?
15. Which command is used to print a file
16. Which of the following signal cannot be handled or ignored?
17. What is the output of this program?
#include<stdio.h>
#include<fcntl.h>
#include<sys/stat.h>
#include<sys/mman.h>
int main()
{
int s_id;
s_id = shm_open("shared_mem",O_CREAT|O_RDWR,0666);
printf("%d\n",s_id);
if(shm_unlink("shared_mem") == -1)
perror("shm_unlink");
return 0;
}
#include<stdio.h>
#include<fcntl.h>
#include<sys/stat.h>
#include<sys/mman.h>
int main()
{
int s_id;
s_id = shm_open("shared_mem",O_CREAT|O_RDWR,0666);
printf("%d\n",s_id);
if(shm_unlink("shared_mem") == -1)
perror("shm_unlink");
return 0;
}
18. /bin/dmesg picks the messages from
19. Which one of the following is bitwise 'exclusive or' operator?
20. For a shared library, version number is changed when
Read More Section(Linux)
Each Section contains maximum 100 MCQs question on Linux. To get more questions visit other sections.