nerdexam
Oracle

1Z0-876 · Question #35

Wally is logged into a system and is searching in a file using the following command. $ grep -i "$LOGNAME" weekly-reports.txt What is Wally searching for in this file?

The correct answer is A. The string wally, upper or lower case. See the full explanation below for the reasoning.

Question

Wally is logged into a system and is searching in a file using the following command. $ grep -i "$LOGNAME" weekly-reports.txt What is Wally searching for in this file?

Options

  • AThe string wally, upper or lower case.
  • BThe string LOGNAME, upper or lower case.
  • CThe string LOGNAME at the end of a line, upper or lower case.
  • DThe string $LOGNAME upper or lower case.

How the community answered

(45 responses)
  • A
    78% (35)
  • B
    11% (5)
  • C
    7% (3)
  • D
    4% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-876 Practice