Apache Hadoop

Hadoop ls:

hdfs dfs -ls wc-wiki
hdfs dfs -ls cs451-s36gong-a1-shakespeare-pairs

Hadoop cat a file:

hdfs dfs -cat cs451-bigdatateach-a1-shakespeare-pairs/part-r-*
hdfs dfs -cat cs451-bigdatateach-a1-wiki-pairs/part-r-*

Getting the size of the file

du -h cs451-bigdatateach-a3-index-shakespeare