title: Sorting the output text file in hadoop, is there a way to view the output without sorting it? or using different sorting method?
body: <p>So basically I used mapreduce for wordcount for a text file I've saved in hadoop, now I want to the view output.</p>
  
  <p>Currently this is the only command I've seen online:</p>
  
  <pre><code>bin/hadoop fs -cat output/part-r-00000 | sort -k 2 -n -r | less
  </code></pre>
  
  <p>So far I'm just confused by this command, is it just sort the output? can I view the output without sorting it?</p>
  
  <p>Is this command sorting the wordcount display everything in alphabetical order otherwise? Is there any other way you would recommend to sort the saved the text fie, a novel? </p>
  
  <p>Also can I just view the outputfile of wordcount without sorting it?</p>