Q. Which command displays the contents of a file in HDFS?

  • (A) hdfs dfs -view
  • (B) hdfs dfs -cat
  • (C) hdfs dfs -open
  • (D) hdfs dfs -disp
πŸ’¬ Discuss
βœ… Correct Answer: (B) hdfs dfs -cat
Explanation: The command 'hdfs dfs -cat' is used to display the contents of a file in HDFS.
Explanation by: Rati Dubey
The command 'hdfs dfs -cat' is used to display the contents of a file in HDFS.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
113
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rati Dubey
Publisher
πŸ“ˆ
81%
Success Rate