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:
Verified
Q21: Identify the proper device for the third
Q22: Which of the following commands can be
Q23: Which of the following commands can be
Q24: Which of the following hardware devices links
Q25: Which statements about the directory /etc/skel are
Q27: Which function does a shell program serve?
A)
Q28: Which of the following commands can be
Q29: After installing a new package, in which
Q30: How is it possible to determine if
Q31: Which command will display running process information
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents