Visit The New, Modern Unix Linux Community


Open a webbrowser link from shell script


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Open a webbrowser link from shell script
# 1  
Open a webbrowser link from shell script

Hi All

I have a task which is manually submitted from a web browser link, by entering a value. This has an xml code as well.

I am looking for options to automate the above to avoid manual intervention/dependency. Is there a way I can achieve this using shell script? Either open the link by passing the value or executing an xml file?
I work on a tool named UC4, which is a scheduling tool. I can only submit shell scripts/sql scripts through this tool.

If this can be achieved in Unix, could you please guide me! Any help is much appreciated!

Thanks in advance
# 2  
And your OS is?

I'm not clear on what you need -"open" means open a browser or just display contents or download/upload something?

e.g., wget does the latter on most Linux systems not all UNIX boxes. Doing the first option is more complex. And we need to know what desktop

Last edited by jim mcnamara; 02-01-2016 at 05:13 PM..
# 3  
My OS is GNU/Linux

What I mean is : if I am doing it manually, I open a link and enter a value in a field. when the value is entered, an event is triggered in the application. The value would be the same every time.
So my script has to do the same, open the link and pass the value.
# 4  
How to do it depends entirely on the web interface in question. It might be as simple as an HTTP form post, or it might depend on cookies and 9 nested layers of javascript.

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #251
Difficulty: Easy
MILNET was designed for highly classified military communications.
True or False?

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

To open a file in shell script.

Hi Guys, I want to open a file in shell script and copy the last file of the line for display. Can anyone help?? (3 Replies)
Discussion started by: Karthick N
3 Replies

2. Shell Programming and Scripting

how to remove the target of the symbol link in a shell script

I have a target directory, there are some files and directories in "target_dir". I have a symbol link: my_link -> <target_dir> The target directory name is NOT known to the script (because it is varying), while the link name is always fixed. In a shell script, how to remove both the... (1 Reply)
Discussion started by: princelinux
1 Replies

3. Shell Programming and Scripting

How can I execute a shell script from an html link?

I want to execute a shell script when clicking on an html link. I want the output of the script to be shown on the webpage. Whats the best way to achieve this? (6 Replies)
Discussion started by: streetfighter2
6 Replies

4. Shell Programming and Scripting

open a web link from

Hello, I am looking a way on how to add in my sh script a line that once run would visit a web link www.domain.com/something.php?smt=SOMEDATA and close. Thank you, C (3 Replies)
Discussion started by: c0mrade
3 Replies

5. Shell Programming and Scripting

How to Open Shell Script from X-Manager Console

Dear All, I have a shell script. which has the read, write & execute permissions. I am entering from X-Manager Console. OS Details are: SunOS P382XLRTY 5.9 Generic_118558-34 sun4u sparc SUNW,Sun-Fire-480R Step1: Double Click on Home Folder, it will be opened. Step2: Double Click on... (2 Replies)
Discussion started by: hanu_oracle
2 Replies

6. Shell Programming and Scripting

Shell script -- symbolic link

Hi , pwd -P will give the physical directory name for symbolic names. is there any command to get the value of symbolic link ? if it's symbolic link , I have to get the physical directory name? any ideas to code in shell ? Thanks (3 Replies)
Discussion started by: talashil
3 Replies

7. Shell Programming and Scripting

Shell script to create a link

Hi All, I have a problem to writing a shell script to create a soft link in some other directory For eg: /opt/Shreedhar/Naik is directory now i need to write shell script in the path /opt/Shreedhar/Naik which should create a soft link in /opt/Shreedhar. I have tried to write the script... (3 Replies)
Discussion started by: Shreedhar Naik
3 Replies

8. Shell Programming and Scripting

needed very good link for Shell script

I am new to shell script.I need a link which explains basic concepts for shell scrpting (1 Reply)
Discussion started by: rajareddy_24
1 Replies

9. Shell Programming and Scripting

open a file in shell script

Hi all How to open a file in a unix shell program. also i want it open for an hour and run independent of other jobs. pls help me solve this issue... (2 Replies)
Discussion started by: bankpro
2 Replies

10. UNIX IEEE Std 1003.1-2001 (POSIX.1)

Link to the Open Group (UNIX Standards)

Click HERE to learn about The Single UNIX Specification, Version 3 Or: Here is another link to the UNIX IEEE Standard, an Open Group Technical Standard, Issue 7 Keywords UNIX® is a registered trademark of The Open Group (0 Replies)
Discussion started by: Neo
0 Replies

Featured Tech Videos