view contents of file in hdfs hadoop
hadoop
Solution
I believe `hadoop fs -cat <file>` should do the job.
Problem
Probably a noob question but is there a way to read the contents of file in hdfs besides copying to local and reading thru unix? So right now what I am doing is: ``` bin/hadoop dfs -copyToLocal hdfs/path local/path nano local/path ``` I am wondering if I can open a file directly to hdfs rather than copying it on local and then opening it.