172k views
4 votes
The redirection of output (>> operator) to an existing file results in new data being appended to the existing data.

a) True
b) False

1 Answer

5 votes

Final answer:

The redirection operator '>>' appends output to an existing file without overwriting it, which makes the statement true.

Step-by-step explanation:

The statement that the redirection of output (>> operator) to an existing file results in new data being appended to the existing data is true. When using the redirection operator '>>' in a command line interface, such as a Unix-based terminal or Windows Command Prompt, any output that would normally be displayed on the screen is instead added to the end of the specified file without overwriting the current contents. Therefore, it appends the new data instead of displacing the existing data.

User Thanos Paravantis
by
7.3k points