ExamVeda
Login
Home
1
Which gcc option undefines a preprocessor macro?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
2
User's Primary Group id is listed in which file, at the time of creation of the user (On a standard Unix system)
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
3
What is the output of this program?
#include<stdio.h>
#include<fcntl.h>
#include<errno.h>
#include<sys/stat.h>
#include<sys/mman.h>
 
int main()
{
    int s_id;
    s_id = shm_open("shared_memory",O_TRUNC,0666);
    if(s_id == -1)
        perror("shm_open\n");
    return 0;
}
Discuss
Answer & Solution
Answer: Option B
No explanation is given for this question. Let's Discuss on Board
4
fc stands for
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
5
In linux filesystem, the passwords of different users are stored in
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
6
What is /proc/[PID]/root?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
7
What is the main role of the regular files in the sysfs?
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
8
Which of the following command provides the list of the functions defined in the login session?
Discuss
Answer & Solution
Answer: Option C
No explanation is given for this question. Let's Discuss on Board
9
If we want to get the exit status that specified targets are up to date or not, we have to execute the make command with option
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board
10
What is the output of this program?
#!/bin/bash
test_var="Example"
echo "$test_var"
echo '$test_var'
echo '"$test_var"'
echo "'$test_var'"
echo \$test_var
exit 0
Discuss
Answer & Solution
Answer: Option A
No explanation is given for this question. Let's Discuss on Board