04-04-2006
Do you want your server run as a daemon?
10 More Discussions You Might Find Interesting
1. AIX
I wrote a ksh script for Helpdesk. I need to know how to disable ctrl-c,ctrl-z,ctrl-d..... so that helpdesk would not be able to get to system prompt :confused: (6 Replies)
Discussion started by: wtofu
6 Replies
2. Shell Programming and Scripting
Good day,
I am trying to add signal handling capabilities to some of my scripts. Unfortunately, I am having some difficulty with the manner in which signals are propagated between parent/child processes. Consider the following example:
I have the following "parent" script:
#!/usr/bin/sh... (5 Replies)
Discussion started by: danie.ludick
5 Replies
3. Shell Programming and Scripting
H! I have written script where it need to invoke the perl script in background, then write the pid in temp file then bring back the job to foreground. whenever the Ctrl-C or Ctrl-Z is pressed in the script has to exit and prompt should be dispalyed. but this script causing exit from shell session... (2 Replies)
Discussion started by: jramesh1
2 Replies
4. Shell Programming and Scripting
im trying to make a trap signal 2 (ctrl c) in a bash script
if a user presses ctrl c while running the script it should display an error message but not quit the bash script just yet. User will have to press "enter" to quit
This is what i have so far
#trap trap_control 2
#while true
#do... (6 Replies)
Discussion started by: gangsta
6 Replies
5. Shell Programming and Scripting
Hi,
while executing shell script, in the middle of the process, if we kill the shell script( ctrl+z or ctrl+c), script will be killed and the files which using for the script will be in the folder.
How to handle those scenarios. Is there any possibilities, if user breaks the script, I need to... (3 Replies)
Discussion started by: ckchelladurai
3 Replies
6. UNIX for Dummies Questions & Answers
Hi friends,
I am trying to add a newline char ('\n') between the query and the commit statement in the following shell script.
#! /bin/sh
echo "select * from tab; commit;" > data.sql
I have tried typing in "Ctrl-V + Ctrl-J" combination which has inserted ^@ (NUL) character but the commit... (1 Reply)
Discussion started by: royalibrahim
1 Replies
7. Shell Programming and Scripting
Hi Experts,
Is it possible to send ctrl + d signal from a inside a file made with vi, using Ctrl V , Esc and 004 , escape sequence.
Since : 004 should exit the script if executed. Is this something possible.
I am trying with vi , I put this code ^ , and trying to execute it but... (4 Replies)
Discussion started by: rveri
4 Replies
8. Shell Programming and Scripting
Hi..!
I'm stuck with my automation of starting a process and keeping it running even after the current ssh session has exited..
So i'm trying to use command 'screen'. which is doing exactly what i wanted, But the problem is automation of the same.
i will have to press Ctrl+a and Ctrl+d for... (2 Replies)
Discussion started by: chandana hs
2 Replies
9. Shell Programming and Scripting
Hello.
I use bash functions which are in different script files.
Theses scripts function files are sourced when necessary.
As function does not easily return string value, Value are return using the echo function, and a return code is returned..
Now here my question :
In the main script I... (11 Replies)
Discussion started by: jcdole
11 Replies
10. Shell Programming and Scripting
declare -a array=( "LLC-load-misses" "LLC-loads" "LLC-store-misses" "LLC-stores" "branch-load-misses" "branch-loads" "dTLB-load-misses" "dTLB-loads" "dTLB-store-misses" "dTLB-stores" "iTLB-load-misses" "iTLB-loads" "branch-instructions" "branch-misses" "bus-cycles" "cache-misses" "cache-references"... (2 Replies)
Discussion started by: BHASKAR JUPUDI
2 Replies
LEARN ABOUT HPUX
dhcpv6client_ui
dhcpv6client_ui(1) General Commands Manual dhcpv6client_ui(1)
NAME
dhcpv6client_ui - DHCPv6 client interface for requesting configuration parameters from the DHCPv6 server
SYNOPSIS
interface_name
interface_name config_options]
vendor_specific_options]
list_of_addresses
DESCRIPTION
is the interface through which a user contacts the client daemon, to obtain IPv6 addresses and other configuration parameters from the
server. The default configuration parameters are specified as command line options when the DHCPv6 client daemon is invoked.
When requests for IPv6 addresses or other configuration parameters, the client daemon obtains them from the server and stores in the file.
is executed on the same machine on which the client daemon is configured. Ensure that the client daemon is up and running before is exe-
cuted.
Options
supports the following options:
Request the client daemon to obtain IPv6 addresses
for the named interface, interface_name, from the DHCPv6 server daemon if the option is not specified.
Specify the other configuration parameters that
the client daemon must request from the server daemon.
This option must be used in conjunction with the option.
The configuration parameters that the client can request are listed below:
Obtain one or more DNS server addresses
Obtain the DNS domain list
Obtain one or more SIP server addresses
Obtain the SIP domain list
Obtain one or more NIS server addresses
Obtain the NIS domain name
Obtain one or more NIS+ server addresses
Obtain the NIS+ domain name
Obtain all the above listed parameters
Obtain all the default parameters configured in the dhcpv6 client daemon
Specify the vendor-specific options that
the client daemon must request from the server daemon.
This option must be used in conjunction with the option.
Release the specified IPv6 addresses.
Get the temporary addresses from the dhcpv6 client daemon.
Print the version information of the client daemon.
Request only the other configuration parameters. Do not
request IPv6 addresses.
Notify the client daemon to utilize the IPv6 addresses
already obtained for an interface instead of requesting new IPv6 addresses from the server.
This option must be used in conjunction with the option.
Get both temporary and non-temporary addresses from the client daemon.
When there is no or option specified obtains only non-temporary addresses.
RETURN VALUES
returns 0 on success and 1 on failure.
EXAMPLES
obtains IPv6 address for the interface:
obtains IPv6 address for the interface and additional configuration parameters:
obtains only the DNS parameters for the interface:
AUTHOR
was developed by Hewlett-Packard.
FILES
All the data obtained from the server daemon is saved to this file.
SEE ALSO
dhcpv6clientd(1M), dhcpv6db2conf(1M), dhcpv6d(1M).
dhcpv6client_ui(1)