1.上传文件
1)hadoop fs -put words.txt /path/to/input/
2)hdfs dfs -put words.txt /path/wc/input/
2.获取hdfs中的文件
hadoop fs -get /path/wc/input/words.txt
3.合并下载多个文件
hadoop fs -getmerge /path/wc/input/words.txt /path/wc/input/words2.txt
4.查看某目录下所含文件
1)hadoop fs -ls /path/wc/input/<