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
πŸ’¬ Discuss
βœ… Correct Answer: (B) hdfs dfs -ls
Explanation: The correct command to list files in HDFS is 'hdfs dfs -ls'.
Explanation by: Rakesh Yadav
The correct command to list files in HDFS is 'hdfs dfs -ls'.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
91
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rakesh Yadav
Publisher
πŸ“ˆ
83%
Success Rate