The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
need to invoke a shell script from xml file. sais UNIX for Dummies Questions & Answers 2 05-19-2008 01:01 PM
Bourne: How to invoke an alias from within a shell script techshots Shell Programming and Scripting 2 06-04-2006 12:38 AM
invoke same script twice mpang_ Shell Programming and Scripting 2 04-05-2006 06:14 AM
Invoke java program in script mpang_ Shell Programming and Scripting 0 03-27-2006 10:05 PM
how to invoke shell script gopa_mani Shell Programming and Scripting 1 12-30-2005 11:43 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-29-2007
ali560045's Avatar
ali560045 ali560045 is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 328
how to Invoke html in ksh Script

how to invoke html file from a ksh shell

plz help.........
  #2 (permalink)  
Old 11-29-2007
V3l0 V3l0 is offline
Registered User
  
 

Join Date: Nov 2007
Location: Belgium & France
Posts: 70
Using lynx ?
  #3 (permalink)  
Old 11-29-2007
matrixmadhan matrixmadhan is offline Forum Advisor  
Technorati Master
  
 

Join Date: Mar 2005
Location: leaf node in B+ tree
Posts: 2,944
Quote:
Originally Posted by ali560045 View Post
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 ?
  #4 (permalink)  
Old 11-30-2007
ali560045's Avatar
ali560045 ali560045 is offline
Registered User
  
 

Join Date: Oct 2007
Posts: 328
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 (permalink)  
Old 11-30-2007
prowla prowla is offline
Read Only
  
 

Join Date: Nov 2007
Posts: 165
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.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 03:03 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0