10-22-2001
try this...
To see what kind of file somthing is:
file <filename>
for example:
file /etc/resolv.conf
will return this:
/etc/resolv.conf: ASCII text
for "class" files you might see this
file RAPlayer.class
RAPlayer.class: compiled Java class data, version 45.3
let me know if this helps!!
RECON
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Perl/UNIX experts,
I have a problem in running a shell script from my perl script (auto.pl).
I run the perl script using
perl auto.pl
from the shell prompt
The shell script picks the files in "input" folder and procesess it.
The shell script blue.sh has this code.
export... (16 Replies)
Discussion started by: hifake
16 Replies
2. Shell Programming and Scripting
Hi,
I have an HTML form through which I get some text as input. i need to run a shell script say script.sh inside a perl-cgi script named main_cgi.sh on the form input.
I want to write the contents of the form in a file and then perform some command line operations like grep, cat on the text... (2 Replies)
Discussion started by: smriti_shridhar
2 Replies
3. Shell Programming and Scripting
i want use ssh on the host01 to execute autoexec.sh on the host02 like following :
host01> ssh host02 autoexec.sh
autoexec.sh include nohup command like follwing :
nohup /home/jack/deletedata.sh &
after i execute ssh host02 autoexec.sh one the host01. i can't found deletedata.sh... (1 Reply)
Discussion started by: orablue
1 Replies
4. Shell Programming and Scripting
Hi,
I basically have 2 shell scripts.
One is a shell script will get the variable value from the user. The variable is nothing but the IP of the remote system.
Another shell script is a script that does the job of connecting to the remote system using ssh. This uses a expect utility in turn.
... (2 Replies)
Discussion started by: sunrexstar
2 Replies
5. Shell Programming and Scripting
Hi All,
I have new for shell scripting.
Problem : I have one scrip at serv1 and path of server is /apps/dev/provimage/scripts and script name:extract_ancillary.bat.
I need to call this script at server2(my working server) and execute at server2 .
Please let me know how to build the... (5 Replies)
Discussion started by: Vineeta Nigam
5 Replies
6. Shell Programming and Scripting
I have a shell script (.sh) and I want to pass a parameter value to the awk command but I am getting exception, please assist.
diff=$1$2.diff
id=$2 new=new_$diff
echo "My id is $1"
echo "I want to sync for user account $id"
##awk command I am using is as below
cat $diff | awk... (2 Replies)
Discussion started by: Ashunayak
2 Replies
7. UNIX for Dummies Questions & Answers
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Discussion started by: dba1981
1 Replies
8. Shell Programming and Scripting
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Discussion started by: dba1981
1 Replies
9. Shell Programming and Scripting
Dear Friends,
Please help me on this
my script name is send.csh
In this i have written the statement like this
set args = ( city state country price )
I want to pass this array to another c shell called receiver.csh. and i want to use it in this c shell
or
how to pass to... (2 Replies)
Discussion started by: SA_Palani
2 Replies
10. UNIX for Beginners Questions & Answers
Hi,
I am totally a newbie to any programming languages and I just started an entry level job in an IT company. One of my recent tasks is to create a script that is able to show the log file of linux service (i.e. ntpd service)
lets say, if I run my script ./test.sh, the output should be... (3 Replies)
Discussion started by: xiaogeji
3 Replies
LEARN ABOUT DEBIAN
rdnssd
RDNSSD(8) System Manager's Manual RDNSSD(8)
NAME
rdnssd - IPv6 Recursive DNS Server discovery Daemon
SYNOPSIS
rdnssd [-f] [-H merge-hook] [-r resolv-file] [-p pidfile] [-u username]
DESCRIPTON
rdnssd is a daemon program providing client-side support for DNS configuration using the Recursive DNS Server (RDNSS) option, as described
in RFC 5006. Its purpose is to supply IPv6 DNS resolvers through stateless autoconfiguration, carried by Router Advertisements.
rdnssd parses RDNSS options and keeps track of resolvers to write nameservers entries to a resolv.conf(5) configuration file. By default,
it writes its own separate file, and may call an external hook to merge it with the main /etc/resolv.conf. This is aimed at easing coexis-
tence with concurrent daemons, especially IPv4 ones, updating /etc/resolv.conf too.
On Linux, since version 2.6.24, rdnssd takes advantage of a new netlink interface, forwarding RDNSS options validated by the kernel to
userland. Otherwise, it merely listens to all ICMPv6 traffic through a raw socket.
OPTIONS
-f or --foreground
Do not detach from the console. Run the program in the foreground.
-H merge-hook or --merge-hook merge-hook
Execute this hook whenever resolv.conf is updated. If this option is not specified, then no hook will be called.
-h or --help
Display some help and exit.
-p pidfile or --pidfile pidfile
Override the location of the pidfile.
-r resolv-file or --resolv-file resolv-file
Set the path to the generated resolv.conf file.
-u username or --user username
Override the user that the program will run as. By default, it runs as nobody.
-V or --version
Display program version and license and exit.
FILES
/etc/rdnssd/merge-hook
A basic merge hook shipped with rdnssd, to be called with the -H option.
/var/run/rdnssd/resolv.conf
The default resolv.conf(5) file that rdnssd writes its configuration to.
/var/run/rdnssd.pid
The process-id file.
BUGS
rdnssd does not keep track of the lifetimes of the routers associated with some DNS resolvers, whereas it should to strictly comply with
RFC 5006.
When rdnssd uses a raw socket instead of the netlink kernel interface, it does not validate received Neighbor Discovery traffic in any way.
For example, it will always consider Router Advertisement packets, whereas it should not if the host is configured as a router. When the
netlink interface is used, such validation is done by the kernel.
SEE ALSO
resolv.conf(5), rdisc6(8), ipv6(7)
AUTHOR
Pierre Ynard <linkfanel at yahoo.fr>
$Id: rdnssd.8-in 575 2007-12-29 21:55:43Z linkfanel $
http://www.remlab.net/ndisc6/
rdnssd $Date: 2007-12-29 23:55:43 +0200 (Sat, 29 Dec 2007) $ RDNSSD(8)