title: Showing command line output on a html page
body: <p>I am building a web app which runs certain commands on the terminal and display the results back on web app. I am able to run commands using child_process.exec and fetch the results the problem i'm facing is while displaying it on an html page. </p>
  
  <p>I want something like this: 
  <a href="https://i.stack.imgur.com/k79nm.png" rel="noreferrer"><img src="https://i.stack.imgur.com/k79nm.png" alt="enter image description here"></a></p>
  
  <p>Is there any way to show the command line output like this ? Any leads would do. Thank you.</p>