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

  • (A) ls -hdfs
  • (B) hdfs fs -ls
  • (C) fs -hadoop
  • (D) hadoop -ls
πŸ’¬ Discuss
βœ… Correct Answer: (B) hdfs fs -ls
Explanation: The correct command is 'hdfs dfs -ls' to list files in HDFS.
Explanation by: Mr. Dubey
The correct command is 'hdfs dfs -ls' to list files in HDFS.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
88
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
82%
Success Rate