nerdexam
Oracle

1Z0-409 · Question #64

You executed the following command on a Linux machine: sed s/hello/fun/g file1.txt | tr A-z -Z> file2.txt What three things would this command do? (Choose three.)

The correct answer is A. Save all changes to file2.txt. C. Translate all lowercase characters to uppercase. E. Replace all occurrences of the entry hello with the entry fun. See the full explanation below for the reasoning.

Question

You executed the following command on a Linux machine:

sed s/hello/fun/g file1.txt | tr A-z -Z> file2.txt What three things would this command do? (Choose three.)

Options

  • ASave all changes to file2.txt.
  • BTranslate all uppercase characters to lowercase.
  • CTranslate all lowercase characters to uppercase.
  • DModifies file1.txt and creates file2.txt.
  • EReplace all occurrences of the entry hello with the entry fun.
  • FReplace all occurrences of the entry fun with the entry hello.

How the community answered

(56 responses)
  • A
    82% (46)
  • B
    2% (1)
  • D
    9% (5)
  • F
    7% (4)

Community Discussion

No community discussion yet for this question.

Full 1Z0-409 Practice