Question 5 — AZ-104 Practice Exam 5
Fill in the blanks by selecting the correct options from the dropdown menus.
The operator [Gap 1] redirects output to a file, overwriting it, while [Gap 2] redirects output by [Gap 3] to the file.
- appending
- renaming
- >>
- input
- deleting
- >
Correct answers
- Gap 1: >
- Gap 2: >>
- Gap 3: appending
Explanations
Correct:
>: Redirects output and overwrites existing content.
>>: Appends output to the end of file.
Wrong:
input: This describes <, not > or >>.
deleting: Not related to redirection.
renaming: Not related to redirection.