Commad hadoop vs command hdfs

hadoop

#1

Hi guys!
I have a question:

what is the difference between the commands Hadoop fs and hdfs dfs?


#2

Hadoop fs was for Hadoop v1 and has been deprecated.
hdfs dfs was introduced with Hadoop v2.


#4

Mayan,

but in the documentation of the latest stable version they continue to use it .
look : http://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/FileSystemShell.html 2