A

Admin • 833.24K Points
Coach

Q. Which command is used to list files in an HDFS directory?

  • (A) hdfs dfs -list
  • (B) hdfs dfs -ls
  • (C) hdfs dfs -dir
  • (D) hdfs dfs -show
  • Correct Answer - Option(B)
  • Views: 16
  • Filed under category Hadoop
  • Hashtags:

Explanation by: Admin

The correct command to list files in HDFS is 'hdfs dfs -ls'.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.