06-15-2011
10 More Discussions You Might Find Interesting
1. Programming
in
fprint(stderr, "lkjalsdi\n");
what does stderr mean?
thanks (1 Reply)
Discussion started by: dell9
1 Replies
2. UNIX for Dummies Questions & Answers
Does anyone know away of redirecting the stderr for a bourne or korn shell script to a file. (5 Replies)
Discussion started by: blakmk
5 Replies
3. Shell Programming and Scripting
Hi,
Need some help here on a script I'm writing. I know that STDERR is normally done is this manner:
script 2>stderr.out
However, if I wanted to output the stderr from a rsh command how do I do that?
Example:
su - username -c "rsh $hostname /opt/gilberteu/scriptname" 1>stdout... (5 Replies)
Discussion started by: gilberteu
5 Replies
4. BSD
Hello!
Firts of all, sorry fo my poor english, but i hope you'll undestand me :)
Ok, let's go to the problem....
I have a lot of awstats crontabs, and i have one mail,where i get daily and weekly output of all servers that i administrate, now it's problem that i get to his mail every time,... (3 Replies)
Discussion started by: flashm3
3 Replies
5. Shell Programming and Scripting
% ls -ld /usr /foo
ls: /foo: No such file or directory
drwxr-xr-x 14 root wheel 512 May 18 02:49 /usr
% ls -ld /usr /foo 1>/dev/null/
/dev/null/: Not a directory.
% ls -ld /usr /foo 2>/dev/null/
/dev/null/: Not a directory.
^^Why why why doesn't this work for me. Furthermore, where is... (7 Replies)
Discussion started by: phpfreak
7 Replies
6. Shell Programming and Scripting
Hi everybody.
I was used to redirect stderr to a file in this way, calling a generic script:./myScript &> output.logBut now I need something more sophisticated...Inside a bash script I launch an executable in this way:${command} >> "${globalLogFile}"So I redirect the stdout into globalLogFile.... (14 Replies)
Discussion started by: canduc17
14 Replies
7. Shell Programming and Scripting
Can somebody explain to me why the diff output is not going to stderr?
Yet when I issue a diff from the command line the return code is -ne 1.
I am guessing diff always writes to stdout???
Is there away I can force the difff to write to stderr USING THE CURRENT
template. If possible, I... (5 Replies)
Discussion started by: BeefStu
5 Replies
8. Shell Programming and Scripting
Hello everyone,
I'm a nooby in Linux, and I need some help.
I have a shell script like this:
echo "Start of script" > ../My_Log_Dir/Script_Name.log
..
cp ../My_DataIn/File.txt ../My_DataOut/ 2>> ../My_Log_Dir/Script_Name.log
rc=$?
..
echo "End of Script" >>... (5 Replies)
Discussion started by: H.Faria
5 Replies
9. Solaris
Hi Experts,
i have a solaris 9 OS and i get the following message repeated many time in my /var/adm/messages :
Oct 31 16:30:44 baobab rsh: can't get stderr port: Cannot assign requested address
have you any idea how can i resolve this issue ??:confused:
thanks for help (2 Replies)
Discussion started by: lid-j-one
2 Replies
10. Shell Programming and Scripting
Hi All,
I am writing a shell script code. and i want the stderr to be send to a file and the stdout to be displayed in terminal. In my shell script code i use a read command to get data from user.read -r -p "Enter the type :" data
and while i execute my script i use./my_script.sh 2>... (4 Replies)
Discussion started by: Vinoth R
4 Replies
LEARN ABOUT DEBIAN
certmonger
certmonger(8) System Manager's Manual certmonger(8)
NAME
certmonger
SYNOPSIS
certmonger [-s|-S] [-b TIMEOUT|-B] [-n|-f] [-d LEVEL] [-p FILE]
DESCRIPTION
The certmonger daemon monitors certificates for impending expiration, and can optionally refresh soon-to-be-expired certificates with the
help of a CA. If told to, it can drive the entire enrollment process from key generation through enrollment and refresh.
The daemon provides a control interface via the org.fedorahosted.certmonger service, with which client tools such as getcert(1) interact.
OPTIONS
-s Listen on the session bus rather than the system bus.
-S Listen on the system bus rather than the session bus. This is the default.
-b TIMEOUT
Behave as a bus-activated service: if there are no certificates to be monitored or obtained, and no requests received within TIMEOUT
seconds, exit.
-B Don't behave as a bus-activated service. This is the default.
-n Don't fork, and log messages to stderr rather than syslog.
-f Do fork, and log messages to syslog rather than stderr. This is the default.
-d LEVEL
Set debugging level. Higher values produce more debugging output. Implies -n.
-p FILE
Store the daemon's process ID in the named file.
FILES
The set of certificates being monitored or signed is tracked using files stored under /var/lib/certmonger/requests, or in a directory named
by the CERTMONGER_REQUESTS_DIR environment variable.
The set of known CAs is tracked using files stored under /var/lib/certmonger/cas, or in a directory named by the CERTMONGER_CAS_DIR envi-
ronment variable.
Temporary files will be stored in "/var/run/certmonger", or in the directory named by the CERTMONGER_TMPDIR environment variable if that
value was not given at compile time.
BUGS
Please file tickets for any that you find at https://fedorahosted.org/certmonger/
SEE ALSO
getcert(1) getcert-list(1) getcert-list-cas(1) getcert-request(1) getcert-start-tracking(1) getcert-stop-tracking(1) certmonger-certmaster-
submit(8) certmonger-ipa-submit(8)
certmonger Manual 12 July 2011 certmonger(8)