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