how to Invoke html in ksh Script

how to invoke html file from a ksh shell

plz help.........

Using lynx ?

Sorry this is not clear.

What is meant by invoking a ' html ' file ?

Is it that you want to parse the file or crawl a web page that is html ?

Could you please be more specific ? :slight_smile:

Actually if i execute an ksh script.it should open a browser...
similar to this

#!/bin/ksh

cat file1.html
------------------------------------------
i know this command cannot open an browser.so i want a command/series of coomands or a ksh script that can open a browser.........

i think u got my point

thanks .................

Something like this should work (replace MYBROWSER with your preferred one):

#!/bin/ksh
MYBROWSER=/opt/mozilla/bin/mozilla 
MYFILE=myfile.html
$MYBROWSER $MYFILE &

You will need your DISPLAY environment variable set for the window to appear.