61. Proc files are
62. Which command generates possible completions for string according to the and write it to standard output?
63. What is the output of this program?
#include<stdio.h>
#include<pthread.h>
void *fun_t(void *arg);
void *fun_t(void *arg)
{
int ret;
ret = pthread_exit("Bye");
printf("%d\n",ret);
}
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");
return 0;
}
#include<stdio.h>
#include<pthread.h>
void *fun_t(void *arg);
void *fun_t(void *arg)
{
int ret;
ret = pthread_exit("Bye");
printf("%d\n",ret);
}
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");
return 0;
}
64. Hidden files are
65. Which of the following exec call is a system call?
66. Which option of gcc enables compiler's all warning messages?
67. Which command on the command line provides the same output as this executable awk script?
#! /usr/bin/awk -f
BEGIN {
print "example"
}
#! /usr/bin/awk -f
BEGIN {
print "example"
}
68. In linux kernel 2.4, we can have
69. For every successful login, which script will be executed?
70. wtmp and utmp files contain:
Read More Section(Linux)
Each Section contains maximum 100 MCQs question on Linux. To get more questions visit other sections.