When I run the command "print_manifest | grep "Main Memory", I get the note :
How do I suppress the part :
NOTE: Could not read the /etc/resolv.conf file.
The file /etc/resolv.conf does not exist in the server, because we do not use DNS for our hostname resolution. However, this NOTE does not pop once I create the resolv.conf file. But is this a good solution?
what's the proper syntax to redirect output, including all errors?
ls -la > direct.list makes out put file direct.list
but if i'm running a script and i want to include the errors, would i type something like:
myscript.scr 2> out_list.txt or will that get the errors only? (1 Reply)
I want to check whether the variable read from the console is number or character , so i used echo $option|grep and checked the reuslt returned by grep cmd using $?
But since I use echo the value is getting printed in the screen , I want to supress the o/p. Can anyone suggest how this can be... (1 Reply)
hi
I'm new here so my question maybe be retarded or out of place:
Is there a way to suppress the "No such file or directory" error message when using the "ls" command ?
thanks (5 Replies)
I have code which at the moment only catches the command/program output if the program runs correctly, which is a small problem as I would like to capture everything from stdout inclusive of errors
FILE *fp;
fp = popen(command.c_str(), "r");
while(fgets(cbuf, 1024, fp) != NULL){
.....do stuff... (1 Reply)
Hi,
I'm trying to spawn a telnet process and trying to do some actions in the remote host using expect script. I would like to know how to suppress all the output in order the user using the script should not be able to see any actions done on the remote host. I tried using the "log_user 0"... (8 Replies)
Need help redirecting output to a file including errors if any,I have 2 script namely push.ksh and run.ksh, I'm scp'ing push.ksh to another server and executing remotely via run.ksh, the script run.ksh runs locally but does not capture any errors in "servername.out" file (I tried testing various... (10 Replies)
for
ga016dgf -> /usr/bin/last | cut -c1-3
Invalid record size. Unable to continue ...
any ideas?
running on
ga016dgf -> uname -a
HP-UX ga016dgf B.11.31 U ia64 1246079591 unlimited-user license
thank you.
Video tutorial on how to use code tags in The UNIX and Linux Forums. (4 Replies)
Hi folks,
I am trying to send an email in Perl script with the below code.
I have written the code in Padre IDE and installed all the required modules(Mail::Sendmail) and executed the code.
It is neither showing errors nor giving the output. I havnt received an mail after running the below... (1 Reply)
This script produces no errors. It also does not produce an output file. Any ideas?
#!/usr/bin/python
import tarfile
output_filename = 'etc.tar'
source_dir = '/etc/'
#To build a .tar.gz for an entire directory tree:
def make_tarfile(output_filename, source_dir):
with... (2 Replies)
Discussion started by: bash_in_my_head
2 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)