title: How to get the output of javap in a text file
body: <p>in order to view the java bytecode, we use javap as given below,    </p>
  
  <pre><code>javap -c abc.class
  </code></pre>
  
  <p>it displays the bytecode on the command line. How can i get the output of the javap -c abc.class which is displayed on the command line to a text file.</p>