nerdexam
Oracle

1Z0-100 · Question #55

Which three statements are true about the bash shell script's capabilities and features?

The correct answer is B. The | | operator ensures that a command is run only if the command preceding the | | operator C. If test "SMYVAR" = prod and if ["SMYVAR" *= prod ] are equivalent ways to test the value of the E. The bash shell supports more than 10 command-line arguments. See the full explanation below for the reasoning.

Question

Which three statements are true about the bash shell script's capabilities and features?

Options

  • AThe s* shell variable holds the exit status of the last command executed in the foreground.
  • BThe | | operator ensures that a command is run only if the command preceding the | | operator
  • CIf test "SMYVAR" = prod and if ["SMYVAR" *= prod ] are equivalent ways to test the value of the
  • DIf the first line of the script begins with #!/bin/sh, then the sh shell program is unable to interpret
  • EThe bash shell supports more than 10 command-line arguments.
  • FThe && operator ensures that a command is run regardless of the outcome of the command that

How the community answered

(28 responses)
  • A
    4% (1)
  • B
    79% (22)
  • D
    14% (4)
  • F
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 1Z0-100 Practice