nerdexam
Oracle

1Z0-409 · Question #206

View the Exhibit. The shell script is executed using the default shell interpreter with the input as w. What will be the output of the script based on this input?

The correct answer is C. It will show that the input is not a valid option. See the full explanation below for the reasoning.

Question

View the Exhibit. The shell script is executed using the default shell interpreter with the input as w. What will be the output of the script based on this input?

Exhibit

1Z0-409 question #206 exhibit

Options

  • AIt will print the current date and time.
  • BIt will list all the currently logged in users.
  • CIt will show that the input is not a valid option.
  • DIt will print the currently logged in users, current date, and time.
  • EIt will not show any result because the case block is terminated with an esac.

How the community answered

(38 responses)
  • A
    3% (1)
  • C
    82% (31)
  • D
    11% (4)
  • E
    5% (2)

Community Discussion

No community discussion yet for this question.

Full 1Z0-409 Practice