Hadoop get command copies the files from hdfs to the local file system. The syntax of the get command is shown below:
hadoop fs -get /user/DPhadoop/hadoopdemo/hdfsFileName localFileName
hadoop fs -get /user/DPhadoop/hadoopdemo/hdfsFileName localFileName