ExamVeda
Login
Home
41
How to run a process in the background?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
42
What is the output of the program?
#! /usr/bin/awk -f
BEGIN {
    a["linux","MCQ"]="example"
    print a["linux","MCQ"]	   
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
43
Which command wait for the specified process to complete and return the exit status?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
44
Static files of the bootloader are installed in
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
45
Which built-in function divides string into pieces seperated by fieldsep and stores the pieces in array?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
46
If you are a root user, how can you grand execute permission only for the owner of the file project1?
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
47
Assuming the files fileA, fileB, fileAB, fileBC and fileABC, exist in a directory, which files match with the pattern file[ABC]?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
48
Which gcc option stops compilation process after preprocessing stage?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
49
Running "make" command without the arguments starts the target . . . . . . . . in the makefile.
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
50
What is the output of this program?
#include<stdio.h>
#include<stdlib.h>
 
int main()
{
    int fd[2];
    int child;
    char buff[6];
    if(pipe(fd) != 0)               
        perror("pipe");
    child=fork();
    switch(child){
        case -1 :
            perror("fork");
            exit(1);
        case 0 :
            if (write(fd[1],"Linux",6) != 6)
                perror("write");
                break;
            default :
                read(fd[0],buff,6);
                printf("%s\n",buff);
                break;
    }
    return 0;
}
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board