Linux Search Pattern Question:
Download Questions PDF

Assuming the files fileA, fileB, fileAB, fileBC and fileABC, exist in a directory, which files match with the pattern file[ABC]?
a) fileA, fileB and fileABC
b) fileABC
c) fileA and fileB
d) fileAB, fileBC and fileABC

Answer:

c) fileA and fileB

Download Search Pattern Interview Questions And Answers PDF

Previous QuestionNext Question
In the output of this program, the string "/* Linux */" will be added at the ____ of the source file.

#include<stdio.h>
#include<stdlib.h>
#include<fcntl.h>

int main()
{
int fd;
fd = open("san.c",O_RDWR|O_APPEND);
write(fd,"/* Linux */",11);
return 0;
}
a) end
b) beginning
c) second line
d) third line
What is your favorite color?