71. Which command runs the shell built-in command 'command' with the given argument?
72. In GDB debugging, we can proceed to the next breakpoint with command
73. What is expression in awk programming?
74. The directory /srv contains
75. 'stty tostop' command will
76. Which one of the following statement is not true about this program?
#include<stdio.h>
#include<pthread.h>
void *fun_t(void *arg);
void *fun_t(void *arg)
{
printf("%d\n",getpid());
pthread_exit("Bye");
}
int main()
{
pthread_t pt;
void *res_t;
if(pthread_create(&pt,NULL,fun_t,NULL) != 0)
perror("pthread_create");
if(pthread_join(pt,&res_t) != 0)
perror("pthread_join");
printf("%d\n",getpid());
return 0;
}
#include<stdio.h>
#include<pthread.h>
void *fun_t(void *arg);
void *fun_t(void *arg)
{
printf("%d\n",getpid());
pthread_exit("Bye");
}
int main()
{
pthread_t pt;
void *res_t;
if(pthread_create(&pt,NULL,fun_t,NULL) != 0)
perror("pthread_create");
if(pthread_join(pt,&res_t) != 0)
perror("pthread_join");
printf("%d\n",getpid());
return 0;
}
77. In Linux, the static library has the extension of
78. Among these files which has an ELF format
79. In debugging with GDB, break points can be set to
80. What is the output of the program?
#! /usr/bin/awk -f
BEGIN {
a[1]="example"
delete a[1]
print a[1]
}
#! /usr/bin/awk -f
BEGIN {
a[1]="example"
delete a[1]
print a[1]
}
Read More Section(Linux)
Each Section contains maximum 100 MCQs question on Linux. To get more questions visit other sections.