Sponsored Content
Top Forums Shell Programming and Scripting How to input a number in a web page and pass to a script? Post 302454569 by Scrutinizer on Sunday 19th of September 2010 01:10:04 AM
Old 09-19-2010
Did you try:
Code:
#!/bin/sh
echo "$cpe">/proc/net/dbrctl/maxcpe

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

running shell script thru WEB page ....

....passing variable via list... here 's the HTML code extract : **************** <form method=post action=http://servername/cgi-bin/cgi-comptage_diff.ksh> <table border...........> .............. </table> <table bgcolor=#FFFFFF width="980"> ... (6 Replies)
Discussion started by: Nicol
6 Replies

2. Shell Programming and Scripting

How to direct a script to a new web page after a script got completed?

Hi , I have a cgi code with shell script on it.I am submitting a form in the first.cgi.These values are posted to second.cgi.Second.cgi do some process with these values. After that i want to direct my page from second.cgi to first.cgi. What is the command i can use from cgi(shell) script? ... (2 Replies)
Discussion started by: rajbal
2 Replies

3. Shell Programming and Scripting

how to redirect to a web-page by shell script

Dear all, I am calling a korn shell script(CGI script) by a web-page. This shell script do some checking in a unix file and return true or false. Now within the same script, If it returns true then I want to redirect to another web-page stored in htdocs directory. Example: Login page sends a... (3 Replies)
Discussion started by: ravi18s
3 Replies

4. Shell Programming and Scripting

Perl script to copy contents of a web page

Hi All, Sorry to ask this question and i am not sure whether it is possible. please reply to my question. Thanks in advance. I need a perl script ( or any linux compatible scripts ) to copy the graphical contents of the webpage to a word pad. Say for example, i have a documentation site... (10 Replies)
Discussion started by: anand.linux1984
10 Replies

5. Shell Programming and Scripting

How to pass data from server (CGI script) to client (html page)

Hi I know how to pass data from client side (html file) to server using CGI script (POST method). I also know how to re-create the html page from server side after receiving the data (using printf). However I want to write static pages on client side (only the structure), and only to pass... (0 Replies)
Discussion started by: naamabm
0 Replies

6. HP-UX

Help running a unix script from a web page

First, let me state that I am completely out of my realm with this. I have a server running HPUX. I'm not even sure if this can be considered a UNIX question and for that let me apologize in advance. I need to create a web page where a client can input 2 variables (i.e. date and phone number).... (0 Replies)
Discussion started by: grinds
0 Replies

7. Shell Programming and Scripting

script for adding page number before page breaks

Hi, If there is an expert that can help: I have many txt files that are produced from pdftotext that include page breaks the page breaks seem to be unix style hex 0C. I want to add page numbers before each page break as in : Page XXXX Regards antman (9 Replies)
Discussion started by: antman
9 Replies

8. Shell Programming and Scripting

Random web page download wget script

Hi, I've been attempting to create a script that downloads web pages at random intervals to mimic typical user usage. However I'm struggling to link $url to the URL list and thus wget complains of a missing URL. Any ideas? Thanks #!/bin/sh #URL List url1="http://www.bbc.co.uk"... (14 Replies)
Discussion started by: shadyuk
14 Replies

9. Shell Programming and Scripting

Refresh web page in bash script

hello, I am trying to refresh my web page which is created in bash script. I have a HTML page which when press a button calls a bash script. this bash script created the same page with dynamic data. When pressing the button I am calling to a function that set time out of 7 seconds and and after... (1 Reply)
Discussion started by: SH78
1 Replies

10. Shell Programming and Scripting

Awk: Page number with total number of pages, EG Page 1 of 5

So I've worked how to add page numbers based on regex. It's using the footer text. How do we get the total amount added so we have page number with the total number of pages? Desired output: Page No:1 of 5 Thanks in advance. (15 Replies)
Discussion started by: tugar
15 Replies
rdpd(1M)																  rdpd(1M)

NAME
rdpd - router discovery protocol daemon (OBSOLETE) SYNOPSIS
| | DESCRIPTION
the router discover protocol daemon, implements the host portion of the router discovery protocol (see More specifically o solicits router advertisements when it is first started so as to populate the kernel table as soon as possible. o listens on all ethernet interfaces (that are up) for ICMP router advertisement datagrams. o adds a default router to the kernel table based on whether the router is a neighbor and has the highest preference among all advertisements received. o ages the default router entry applied to the kernel table based on the lifetime value found in the advertisement message. can be started during boot-time initialization. To do so, see (But see below.) Options supports the following options: Display the version of Enable tracing of the following events: o setting of expiration timer for advertised entry. o expiration of a router advertisement entry (only the active entry has a timer running). o add/update of an advertised router to the kernel. o removal from kernel table of an advertised router. o reception of a router advertisement from the link. o transmission of a router solicitation message. o failure while attempting to transmit a solicitation. Enable verbose tracing, which in addition to the above, traces: o contents of the router advertisement message received. o contents of rdpd internal statics which includes: 1. total number of messages received, 2. total number advertisements received, 3. total number of advertisements with invalid number of addresses field, 4. total number of advertisements with invalid address size field, 5. total number of advertisements with invalid message lengths, 6. total number of advertisements with invalid lifetime fields, 7. total number of messages with number of bytes received <> header length field. LIMITATIONS
1. The maximum number of default routes retained is 10. Only one of which is applied to the kernel routing tables (the one with the high- est preference). In the event that the advertised router with the highest preference expires the retained advertised router list will be searched for the highest preference, still current entry and that entry will be applied to the kernel table. This allows for quick recovery from aged advertisements. 2. only becomes aware of link state changes when either a new Router Advertisement message is received or a timer pops to age a currently active default router added by This may cause a delay between an interface state change (e.g., down) and any necessary change to the kernel routing table. 3. The "all hosts on subnet" broadcast address is used for sending solicitations instead of either the all-routers multicast or limited- broadcast IP addresses. 4. The limited-broadcast address for inbound Advertisements is assumed. 5. Default routers added via the command can be altered due to Router Advertisements for the same router. 6. Adding default routes via the command can cause unpredictable results and should be avoided. OBSOLESCENCE
The functionality of has been subsumed in See the statements described in gated.conf(4). has been obsoleted in HP-UX 11i Version 2. WARNINGS
should not be used if is enabled when running AUTHOR
was developed by HP. SEE ALSO
gated(1M), gated.conf(4). [1] Deering, S., "ICMP Router Discovery Messages", RFC 1256 rdpd(1M)
All times are GMT -4. The time now is 07:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy