Oracle
1Z0-409 · Question #132
As an administrator you want to make sure that accidentally you do not delete files using rm command. You also want to make sure that even the use of rm command without any valid switches prompts…
The correct answer is A. alias rm="rm -i". See the full explanation below for the reasoning.
Question
As an administrator you want to make sure that accidentally you do not delete files using rm command. You also want to make sure that even the use of rm command without any valid switches prompts for confirmation before file deletion. Which option would help you achieve this task?
Options
- Aalias rm="rm -i".
- Balias rm="rm -f".
- Calias rm="rm -r".
- Dalias rm="rm -v".
How the community answered
(28 responses)- A79% (22)
- B7% (2)
- C11% (3)
- D4% (1)
Community Discussion
No community discussion yet for this question.