I have shell-scripts which have html tags which means they were obviously meant to be seen/displayed in a browser as well. So how do I tell firefox to display the shell script instead of trying to download it. The shell-scripts have .sh and .pl at the end respectively. The first script starts like -  1  <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 2    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd> 3  <html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'> 4  <head>and ends with -   231  </div> <!-- id=cgit -->   232  </body>   233  </html>The second script also shows the same code . The files are and will be local in nature. Web-based files should always ask as to what to do. 
how to display local shell-script/s in browser/firefox?
shell script;firefox