31. Which command is used to delete the character before the cursor location in vi editor?
32. In sysfs, each represented bus type has two directories named as
33. Which of the following files need to be referred for user's secondary group?
34. What is job number?
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;
}
#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
#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 be38. Which among the following interacts directly with system hardware?
39. Which one of the following is not a platform specific code?
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.