Solved

Why Is the File Data

Question 26

Multiple Choice

Why is the file data.txt empty after executing sort data.txt > data.txt?


A) Because, if data.txt is empty now, it must have been empty before.
B) Because sort cannot sort text files, only binary files.
C) Because sort detects that both files are the same.
D) Because the file gets truncated before sort is executed.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents