adplus-dvertising
frame-decoration

Question

What does the following segment of code does?
grep -i man heroes.txt

a.

manually opens a file called heroes.txt

b.

manages heroes.txt

c.

search for “man” in the file “heroes.txt”

d.

none of the mentioned

Answer: (c).search for “man” in the file “heroes.txt”

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What does the following segment of code does? grep -i man heroes.txt

Similar Questions

Discover Related MCQs

Q. What does “X?” do regular expression operator?

Q. Which of the following does not support regular expressions?

Q. Lexemes can be referred to as:

Q. If the lexical analyser finds a lexeme with the same name as that of a reserved word,it _________

Q. The methodology to show an error when the analyzer faces a keyword over an user’s input is based on:

Q. State true or false:
Statement: A lexical analyzer reads the source code line by line.

Q. The scanner outputs:

Q. The phase of compilation which involves type checking is:

Q. Which among the following is not a tool to construct lexical analyzer from a regular expression?

Q. A program that performs lexical analysis is termed as:

Q. Lexers and parsers are not found in which of the following?

Q. Which phase of compiler includes Lexical Analysis?

Q. Which of the following characters are ignored while lexical analysis?

Q. ____________ is used for grouping up of characters into token.

Q. The action of parsing the source code into proper syntactic classes is known as:

Q. Which of the following is the task of lexical analysis?

Q. The minimum length of a string {0,1}* not in the language corresponding to the given regular expression:
(0*+1*)(0*+1*)(0*+1*)

Q. Which of the following regular expression is equivalent to R(1,0)?
R(1,0)={111*}*

Q. The minimum number of 1’s to be used in a regular expression of the given language:
R(x): The language of all strings containing exactly 2 zeroes.

Q. The given regular language corresponds to which of the given regular language
e+1+(1+0)*0+(0+1)*11