Solved

Why Is the File Data

Question 48

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