Q. Which command lists files in HDFS?
β
Correct Answer: (B)
hdfs dfs -ls
Explanation: The command 'hdfs dfs -ls' lists files in HDFS.