A

Admin • 832.27K Points
Coach

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

  • (A) ls -hdfs
  • (B) hdfs fs -ls
  • (C) fs -hadoop
  • (D) hadoop -ls
  • Correct Answer - Option(B)
  • Views: 11
  • Filed under category Hadoop
  • Hashtags:

Explanation by: Admin

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

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.