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
4
  • could u plzz alobarate... as im new to html Commented Aug 13, 2014 at 6:54
  • see my edits give complete path in src. Commented Aug 13, 2014 at 7:02
  • what you want to execute script or html page....Please go google it.... Commented Aug 13, 2014 at 8:04
  • @user3933685, This would help you stackoverflow.com/questions/6235785/… Commented Mar 2, 2015 at 4:26

1 Answer 1

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.