1. What is the default maximum number of processes that can exist in Linux?
2. Which command is used to identify file type?
3. Which one of the following is not true about this program?
#include<stdio.h>
#include<signal.h>
void response (int);
void response (int signo)
{
printf("%s\n",sys_siglist[signo]);
signal(SIGSEGV,SIG_IGN);
}
int main()
{
signal (SIGSEGV,response);
char *str;
*str = 10;
return 0;
}
#include<stdio.h>
#include<signal.h>
void response (int);
void response (int signo)
{
printf("%s\n",sys_siglist[signo]);
signal(SIGSEGV,SIG_IGN);
}
int main()
{
signal (SIGSEGV,response);
char *str;
*str = 10;
return 0;
}
4. Advantage of FIFO over pipe is
5. What is the output of this program?
#! /usr/bin/awk -f
BEGIN {
a=0
do {
print "example"
a++
} while (a<5)
}
#! /usr/bin/awk -f
BEGIN {
a=0
do {
print "example"
a++
} while (a<5)
}
6. A device class describes the . . . . . . . . type of device.
7. Syntax of any Unix command is:
8. Which one is used to select only one copy of the repeated lines?
9. Which one of the following is not system V IPC ?
10. The keyword 'local' is used
Read More Section(Linux)
Each Section contains maximum 100 MCQs question on Linux. To get more questions visit other sections.