hi,
I have a system with 3 O/S on it ( win 32, RHEL 4 32 & 64)
I'm very new to shell scripting and I'm seeking for help in this matter..
I want to have an automated script on REDHAT that would run/open multiple applications one after other timed out at 20 seconds interval.
Eg:... (4 Replies)
I'm totally new to shell scripting and I would like to ask your help
1.i want to have a .sh script where it runs opening 2 applications one after another
2.i have 2 applications in
/applications/app1
/applications/app2
3. want this script to launch app1 for 20 seconds and get killed... (2 Replies)
Ok, I am sure this has been beat like a dead horse, but I an trying "anew". I am trying to create a script that will automate a file transfer using sftp. Please, I am at rock bottom. Thank you. (2 Replies)
Hi All,
I am writing an automated SFTP script to xfer files. I am able to do sftp in batch mode and it is working absolutely fine.
The problem is that on redirecting the output of SFTP session to some file, it is not writing about the status of SFTP operation. All i can see in output file is :... (6 Replies)
I want to create an automated backup script that will copy files to different directories for different days. I will use a detachable USB drive, under SCO 5.0.7. I am very new to Unix, and will require most of the script. Thanks (5 Replies)
Hello,
I am scripting noob but I need little monitoring script.
It will be very good if you can help me.
What I need:
Script will login via ssh to another machine (ssh -l user ipadress), make top command and log first row + machine ip. It should monitor like 10 machines.
Script should run... (1 Reply)
Hello, how can I write a shell script that looks in running processes and if there isn't a process name containing 91.34.124.35 then execute a file in a certain place.
I know PHP, in PHP I could do a preg_match_all but I don't know how to do it in shell. (5 Replies)
Hi,
I need a script to execute below task. As of now I am doing it manually and want it automated.
1)go to below path
cd /path/of/file
check for the availibility of two file as below of the latest date.
test.week1.data
test.week2.data
Case1. If above files are not present... (3 Replies)
Discussion started by: sv0081493
3 Replies
LEARN ABOUT DEBIAN
dhcp6relay
DHCP6RELAY(8) BSD System Manager's Manual DHCP6RELAY(8)NAME
dhcp6relay -- DHCPv6 relay agent
SYNOPSIS
dhcp6relay [-Ddf] [-b boundaddr] [-H hoplim] [-r relay-IF] [-s serveraddr] [-S script-file] [-p pid-file] interface ...
DESCRIPTION
dhcp6relay acts as an intermediary to deliver DHCPv6 messages between clients and servers, and is on the same link as a client. dhcp6relay
needs command line arguments interface ..., which specifies the list of links accommodating clients.
Options supported by dhcp6relay are:
-d Print debugging messages.
-D Even more debugging information is printed.
-f Foreground mode (useful when debugging). Although dhcp6relay usually prints warning, debugging, or error messages to syslog(8), it
prints the messages to standard error if this option is specified.
-b boundaddr
Specifies the source address to relay packets to servers (or other agents).
-H hoplim
Specifies the hop limit of DHCPv6 Solicit messages forwarded to servers.
-r relay-IF
Specifies the interface on which messages to servers are sent. When omitted, the same interface as interface will be used. When
multiple interface are specified, this option cannot be omitted.
-s serveraddr
Specifies the DHCPv6 server address to relay packets to. If not specified, packets are relayed to ff05::1:3 (All DHCPv6 servers).
-S script-file
Specifies the script file to be executed when dhcp6relay receives a RELAY-REPLY message from a DHCPv6 server. Further detail of the
script file syntax is available in dhcp6c(8)-p pid-file
Use pid-file to dump the process ID of dhcp6relay.
FILES
/var/run/dhcp6relay.pid is the default file that contains pid of the currently running dhcp6relay.
SEE ALSO dhcp6c(8), dhcp6s(8)
Ralph Droms, Editor, Dynamic Host Configuration Protocol for IPv6 (DHCPv6), RFC 3315, 2003.
HISTORY
The dhcp6relay command first appeared in WIDE/KAME IPv6 protocol stack kit.
KAME Apr 18, 2000 KAME