日常使用Shell积累

HDFS统计文件行数:

 hdfs dfs -cat hdfs://ns3/wordcount/* |wc -l