how to Invoke html in ksh Script


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting how to Invoke html in ksh Script
# 1  
Old 11-29-2007
how to Invoke html in ksh Script

how to invoke html file from a ksh shell

plz help.........
# 2  
Old 11-29-2007
Using lynx ?
# 3  
Old 11-29-2007
Quote:
Originally Posted by ali560045
how to invoke html file from a ksh shell

plz help.........
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 ? Smilie
# 4  
Old 11-30-2007
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 .................
# 5  
Old 11-30-2007
Something like this should work (replace MYBROWSER with your preferred one):
Code:
#!/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.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Depend on Script message needs to be invoke anothe script

I have script below #! /bin/bash if then echo "JBoss is NOT running" else echo "JBoss is running" fi If JBoss is NOT running need to be invoke another script i.e jboss startup script /home/vizion/Desktop/jboss-4.2.3.GA/bin/run.sh script from other script not... (5 Replies)
Discussion started by: Chenchireddy
5 Replies

2. Shell Programming and Scripting

HTML Report from mail in ksh 88

Hi Team, I'm trying to send HTML Report from email using the below script (Using ksh 88 version) #!/bin/ksh set -x SUB="Test Email" Mail_Body="This is for testing" Send_Mail_HTML() { ( echo "FROM: abcd@test.com" echo "To: abcd@test.com" echo "Subject:... (2 Replies)
Discussion started by: smile689
2 Replies

3. Shell Programming and Scripting

Not able to invoke a sh script from KSH

Hi all, Iam writing a KSH script which needs to export dispaly to Xwindows and then involke a sh script .. But a core file is getting genrated for reasons not known to me. Please check i need incorporate below mentioend code in my script which iam not abel to .. export DISPLAY=`who am i |... (1 Reply)
Discussion started by: rahman_riyaz
1 Replies

4. Shell Programming and Scripting

how to view html in ksh programm

have a script in ksh called file1 #!/bin/ksh cat my.html --------------------------- and a html file hy.html can u tell me that if i execute "file1" script it will open hy.html bt here it is showing the all the tags along with text......... it should open the browser part... (2 Replies)
Discussion started by: ali560045
2 Replies

5. Shell Programming and Scripting

Invoke perl program from Ksh

Hi all, Can I invoke a perl script from Ksh script and pass parameters to the perl script. Please do help me.. thanks Maha (10 Replies)
Discussion started by: mahalakshmi
10 Replies

6. Shell Programming and Scripting

invoke ksh in SunOS 5.7

Hi I have the following in .kshrc file set -o allexport HOSTNAME=$(uname -n) HISTSIZE=50 EDITOR=vi ENV=$HOME/.kshrc PATH=$HOME/bin:/usr/bin:/usr/local:/etc/bin/:/bin:/usr/local/bin:. bind =complete set +o allexport clear and I have the following in .profile umask 077... (2 Replies)
Discussion started by: muru
2 Replies

7. Shell Programming and Scripting

invoke same script twice

hey, can I invoke the same script twice simultaneously? I want both instances to run at the same time with different parameters. Thanks! (2 Replies)
Discussion started by: mpang_
2 Replies

8. Shell Programming and Scripting

Passing FORM(HTML) variable to ksh

I am currently able to use the $QUERY_STRING variable and simply cut out what I need to be assigned as variables within the shell script. However, I've been able to use the "name" value assigned within the FORM(HTML) as a variable when I use perl. Why is it that ksh doesn't read the "name" in as... (1 Reply)
Discussion started by: douknownam
1 Replies

9. Shell Programming and Scripting

ksh splitting string - html forms

I a new to using ksh for cgi.. I want to be able to split the query_string... ie... id=893283923name=bob How do I specifically extract the value of id in to a variable and the name etc? (5 Replies)
Discussion started by: frustrated1
5 Replies

10. Shell Programming and Scripting

HTML display timing problem under ksh script

Using a HTML page , i'm running a Unix ksh script with <a href=..>. The script contains loop like this : for i in do rsh..... done each rsh command is running quite long and then i would display results in HTML format but about 5mn my blank page waiting for result is running in error... (1 Reply)
Discussion started by: Nicol
1 Replies
Login or Register to Ask a Question