Q. Which command is used to delete a file in HDFS?
β
Correct Answer: (C)
hdfs dfs -rm
Explanation: The correct command to delete a file in HDFS is 'hdfs dfs -rm'.