nerdexam
EC-Council

ECSS · Question #100

You want to rename a file foo to the file bar and move the file bar to the /tmp folder. Which of the following commands will you use to accomplish the task?

The correct answer is C. mv foo /tmp/bar. See the full explanation below for the reasoning.

Question

You want to rename a file foo to the file bar and move the file bar to the /tmp folder. Which of the following commands will you use to accomplish the task?

Options

  • Amv bar /temp/foo
  • Bren foo /tmp/bar
  • Cmv foo /tmp/bar
  • Dren bar /tml/foo

How the community answered

(33 responses)
  • A
    3% (1)
  • B
    12% (4)
  • C
    82% (27)
  • D
    3% (1)

Community Discussion

No community discussion yet for this question.

Full ECSS Practice