35.
What is the output of this program?
#include<stdio.h>
#include<fcntl.h>
 
int main()
{
    int fd, count;
    fd = open("demo.txt",O_WRONLY|O_CREAT);
    count = write(fd,"Linux System Programming",5);
    if(count != 5)
        perror("write");
    return 0;
}

36.
When a device is removed from the system

37.
The following commands gives the output like this
#cat file1 file2
#cat: file1: No such file or directory
If we execute the command “cat file1 file2 1>2 2>&1” the output would be

40.
Which one of the following directory contains every physical device that has been discovered by the bus types registered with the kernel?

Read More Section(Linux)

Each Section contains maximum 100 MCQs question on Linux. To get more questions visit other sections.