hadoop fs -cat <hdfspath>
hadoop fs -cat <hdfspath>|more #more参数可是分页显示文件内容
echo abcd | hadoop fs -put - <hdfsfile> #将打印到屏幕的内容保存到hdfs
hadoop fs -cat <hdfsfile>
ls <localpath> | hadoop fs -put <hdfsfile> #将本地目录下的文件名保存到hdfs文件中
hadoop fs -copyToLocal <hdfsfile> #复制hdfs文件或者目录到当前目录
hadoop fs -put <localfile> <hdfsfile> #将本地文件复制到hdfs,相同名字的文件将被覆盖
hadoop fs -get <hdfsfile> <lcoalfile> #将hdfs文件复制到本地,相同名字的文件将被覆盖

  

最新文章

  1. PowerDesigner通过SQL语句生成PDM文件
  2. maven打包问题
  3. Java 7 Concurrency Cookbook 翻译 序言
  4. 第五章第二例题关于Vector(LRJ)
  5. 「2013-9-5」Configure WingIDE for better display of East Asian Glyphs
  6. XStream 快速转换xml
  7. FZU 2105 Digits Count(线段树)
  8. Linux 的使用基础---Shell程序设计
  9. [ES6] Array.findIndex()
  10. Android新浪微博客户端(二)——添加多个账户及认证
  11. Struts2--ModelDriven接收参数
  12. Docker笔记四:Elasticsearch实例部署
  13. Linux Simple Systemd Service Guide
  14. leetcode — merge-intervals
  15. centos 6.9修改系统默认字符集
  16. Android全面屏适配
  17. 【java】类的继承
  18. docker 常用操作
  19. deepin安装Python3.6和pip
  20. vue 巧妙的运用sass px 转 rem

热门文章

  1. python3-打印一个进度条
  2. javascript字符串 转 驼峰字符
  3. Python pika, TypeError: exchange_declare() got an unexpected keyword argument &#39;type&#39; 问题修复
  4. Java50道经典习题-程序47 输入数字打印星号
  5. org.apache.commons.lang3包中的isEmpty和isBlank
  6. ubuntu - 14.04,必须会的技能-安装PPA源中的程序,更大范围使用deb格式安装文件!!
  7. Spring MVC零配置(全注解)(版本5.0.7)
  8. POI2011 Tree Rotations
  9. Python之运算符以及基本数据类型的object
  10. CSS(九)元素隐藏和利弊