nerdexam
Oracle

1Z0-409 · Question #61

You have issued the following command: echo -e "Welcome\nTo Oracle\nEnterprise\rLinux" Why would you use the -e switch? (Choose two.)

The correct answer is C. to cause echo to honor the escape sequence for the carriage return D. to cause echo to honor the escape sequence for both the newline characters. See the full explanation below for the reasoning.

Question

You have issued the following command:

echo -e "Welcome\nTo Oracle\nEnterprise\rLinux" Why would you use the -e switch? (Choose two.)

Options

  • Ato redirect the output to the standard output device
  • Bto remove the normal newline character from the end of the output
  • Cto cause echo to honor the escape sequence for the carriage return
  • Dto cause echo to honor the escape sequence for both the newline characters

How the community answered

(37 responses)
  • A
    16% (6)
  • B
    8% (3)
  • C
    76% (28)

Community Discussion

No community discussion yet for this question.

Full 1Z0-409 Practice