Q. Which command lists the content of an HDFS directory?
β
Correct Answer: (C)
hdfs dfs -ls
Explanation: 'hdfs dfs -ls' lists the files and directories inside the given HDFS path.