0

I have a shell script which will generate the following output file.I would like to put the file in a html code..plz help me .my output looks like following

Sno.  Application               IPAddress     Status
----  -----------               ---------     ------
1     ManageDeviceAssociation   10.101.42.3   Up
2     ManagePlay                10.101.42.4   Up
3     ManageSettings            10.101.42.5   Up
4     SOLRUserProfileInfo       10.101.42.6   Up
5     SOLRPhysicalDeviceInfo    10.101.42.7   Up
smali
  • 4,687
  • 7
  • 38
  • 60

1 Answers1

1

You can use <embed> tag for that.

<embed src="test.txt">

copy it in a test.html and open it in a browser.

!DOCTYPE html>
<html>
<body>

<embed src="path/to/your/file/list.txt">

</body>
</html>

see it live here

smali
  • 4,687
  • 7
  • 38
  • 60