Oracle
1Z0-876 · Question #48
Click the Exhibit button. The exhibit is a listing of your current directory. You need to place the file sonic into the directory dir1 and rename the file to game, while removing the original file…
The correct answer is D. mv sonic widgets/dir1/game G. cp ./sonic ./widgets/dir1/game ; rm ./sonic. See the full explanation below for the reasoning.
Question
Click the Exhibit button. The exhibit is a listing of your current directory. You need to place the file sonic into the directory dir1 and rename the file to game, while removing the original file. Choose the commands that will accomplish this task. (Choose two.)
Exhibit
Options
- Acp ./sonic /widgets/dir1/game ; rm sonic
- Bmv /sonic widgets/dir1/game
- Ccp /sonic widgets/dir1/game ; rm /sonic
- Dmv sonic widgets/dir1/game
- Ecp ./widgets/dir1/sonic /game; rm -r sonic
- Fmv sonic ./dir1/game
- Gcp ./sonic ./widgets/dir1/game ; rm ./sonic
- Hmv /sonic /widgets/dir1/ ; rm ./sonic
How the community answered
(33 responses)- A6% (2)
- C3% (1)
- D79% (26)
- E3% (1)
- F9% (3)
Community Discussion
No community discussion yet for this question.
