Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Console output then comparison check help Post 303032914 by mr5ingh on Tuesday 26th of March 2019 02:57:17 PM
Old 03-26-2019
Ok, what i mean i could not work out how to use the tee command.

ie
ls | tee file


I just need the console output to be sent over
ie
1 renew done
2 renew done
3 renew done
4 renew done
5 renew done
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

console output messages

could someone please tell me how to stop error messages being displayed to the console port. Currently, error messages are streaming to the console and I ant do anything. many thanks..... (2 Replies)
Discussion started by: boristhespider
2 Replies

2. Programming

Reading console output

I am writing a program that uses system() to pass commands to the command interpreter. Is there a way to read the output that the commands produce? (1 Reply)
Discussion started by: Blaster999
1 Replies

3. UNIX for Dummies Questions & Answers

Eleminating output to console

I am running Shorewall firewall config program to utilize iptables on a Debian 3.3.5 system. This system is setup for a getway/router. I am getting a message: Shorewall:bogons:Drop:IN=eth0 OUT= MAC+ mac address of eth0 SRC:someinternetIP DST=MYIPADD LEN=61 TOS+0x00 PREC=0x00 TTL=114 ID=6673... (3 Replies)
Discussion started by: pflink
3 Replies

4. Shell Programming and Scripting

Output format - comparison with I/p file

Hi, I have a file which contains more than 1 lakh records like following: a. name, id, city, state, country, phone (Expected I/P file format) name, id, city,, state, country, phone (Current I/P file format ) I want to achieve following tasks, a, Remove the extra comma in the... (1 Reply)
Discussion started by: velappangs
1 Replies

5. Shell Programming and Scripting

output console problem

kill -s KILL 0 ----------------------- ----------------------- i have used this command in a script...it is showing "killed" in output console. i don't want that.plz help what to do.i have tried --kill -s KILL 0 >/dev/null it is still showing "killed" in the output console...what to do? (1 Reply)
Discussion started by: arghya_owen
1 Replies

6. UNIX for Dummies Questions & Answers

Command display output on console and simultaneously save the command and its output

Hi folks, Please advise which command/command line shall I run; 1) to display the command and its output on console 2) simultaneous to save the command and its output on a file I tried tee command as follows; $ ps aux | grep mysql | tee /path/to/output.txt It displayed the... (7 Replies)
Discussion started by: satimis
7 Replies

7. Solaris

No Console Output

Hey everyone I have a sparc enterprise T2000 I'm trying to install solaris 10 on. The only way I can connect to it is the SER MGT console, but I'm not getting anything to display (in Hyper terminal, or PUTTY) when I boot it. Upon googleing, all I get back is "No output may have been generated.... (4 Replies)
Discussion started by: goodvikings
4 Replies

8. UNIX for Dummies Questions & Answers

df -> output files; comparison using awk or...

:wall: I am trying to do the following using awk (is that the best way?): Read 2 files created from the output of df (say, on different days) and compare the entries using the 1st (FileSys) and 6th (Mount) fields to see if the size has changed. Output (at least), to a new file (some header... (2 Replies)
Discussion started by: renata
2 Replies

9. Shell Programming and Scripting

Grep on console output

Hellos! I want to have a unix script that will run grep on the console output. Here is what my script does: 1. Telnet into a remote server (I have done this part successfully) 2. On successful login, the remote server displays outputs information on the console. I need to run grep on that... (6 Replies)
Discussion started by: puneet1984
6 Replies

10. Shell Programming and Scripting

Output to console and to log

I have a menu based script where user will select different action via displayed menu. I want to log all the action or say whatever displayed on screen to a log file and want to achieve with in the same script. i tried named pipe as below.. logfile=mylogfile mkfifo ${logfile}.pipe... (3 Replies)
Discussion started by: vidyadhar85
3 Replies
certmonger(8)						      System Manager's Manual						     certmonger(8)

NAME
dogtag-ipa-renew-agent-submit SYNOPSIS
dogtag-ipa-renew-agent-submit -E EE-URL -A AGENT-URL [-d dbdir] [-n nickname] [-i cainfo] [-C capath] [-c certfile] [-k keyfile] [-p pin- file] [-P pin] [-s serial (hex)] [-D serial (decimal)] [-S state] [-T profile] [-v] [csrfile] DESCRIPTION
dogtag-ipa-renew-agent-submit is the helper which certmonger uses to make certificate renewal requests to Dogtag instances running on IPA servers. It is not normally run interactively, but it can be for troubleshooting purposes. The preferred option is to request a renewal of an already-issued certificate, using its serial number, which can be read from a PEM-for- matted certificate provided in the CERTMONGER_CERTIFICATE environment variable, or via the -s or -D option on the command line. If no serial number is provided, then the client will attempt to obtain a new certificate by submitting a signing request to the CA. The signing request which is to be submitted should either be in a file whose name is given as an argument, or fed into dogtag-ipa-renew- agent-submit via stdin. OPTIONS
-E EE-URL The top-level URL for the end-entity interface provided by the CA. In IPA installations, this is typically http://SERVER:EEPORT/ca/ee/ca. If no URL is specified, the host named in the [global] section in the /etc/ipa/default.conf file is used as the value of SERVER, and the value of EEPORT will be inferred based on the value of the dogtag_version in the [global] sec- tion in the /etc/ipa/default.conf file: if dogtag_version is set to 10 or more, EEPORT will be set to 8080. Otherwise it will be 9180. -A AGENT-URL The top-level URL for the agent interface provided by the CA. In IPA installations, this is typically https://SERVER:AGENT- PORT/ca/agent/ca. If no URL is specified, the host named in the [global] section in the /etc/ipa/default.conf file is used as the value of SERVER, and the value of AGENTPORT will be inferred based on the value of the dogtag_version in the [global] section in the /etc/ipa/default.conf file: if dogtag_version is set to 10 or more, AGENTPORT will be set to 8443. Otherwise it will be 9443. -d dbdir -n nickname -c certfile -k keyfile The location of the key and certificate which the client should use to authenticate to the CA's agent interface. Exactly which val- ues are meaningful depend on which cryptography library your copy of libcurl was linked with. If none of these options are specified, and none of the -p, -P, -i, nor -C options are specified, then this set of defaults is used: -i /etc/ipa/ca.crt -d /etc/httpd/alias -n ipaCert -p /etc/httpd/alias/pwdfile.txt -p pinfile The name of a file which contains a PIN/password which will be needed in order to make use of the agent credentials. If this option is not specified, and none of the -d, -n, -c, -k, -P, -i, nor -C options are specified, then this set of defaults is used: -i /etc/ipa/ca.crt -d /etc/httpd/alias -n ipaCert -p /etc/httpd/alias/pwdfile.txt -i cainfo -C capath The location of a file containing a copy of the CA's certificate, against which the CA server's certificate will be verified, or a directory containing, among other things, such a file. If these options are not specified, and none of the -d, -n, -c, -k, -p, nor -P options are specified, then this set of defaults is used: -i /etc/ipa/ca.crt -d /etc/httpd/alias -n ipaCert -p /etc/httpd/alias/pwdfile.txt -s serial The serial number of an already-issued certificate for which the client should attempt to obtain a new certificate, in hexadecimal form, if one can not be read from the CERTMONGER_CERTIFICATE environment variable. -D serial The serial number of an already-issued certificate for which the client should attempt to obtain a new certificate, in decimal form, if one can not be read from the CERTMONGER_CERTIFICATE environment variable. -S state A cookie value provided by a previous instance of this helper, if the helper is being asked to continue a multi-step enrollment process. If the CERTMONGER_COOKIE environment variable is set, its value is used. -T profile/template The name of the type of certificate which the client should request from the CA if it is not renewing a certificate (per the -s option above). The default value is caServerCert. -v Increases the logging level. Use twice for more logging. This option is mainly useful for troubleshooting. EXIT STATUS
0 if the certificate was issued. The certificate will be printed. 1 if the CA is still thinking. A cookie value will be printed. 2 if the CA rejected the request. An error message may be printed. 3 if the CA was unreachable. An error message may be printed. 4 if critical configuration information is missing. An error message may be printed. 5 if the CA is still thinking. A suggested poll delay (specified in seconds) and a cookie value will be printed. FILES
/etc/ipa/default.conf is the IPA client configuration file. This file is consulted to determine the URL for the Dogtag server's end-entity and agent interfaces if they are not supplied as arguments. BUGS
Please file tickets for any that you find at https://fedorahosted.org/certmonger/ SEE ALSO
certmonger(8) getcert(1) getcert-list(1) getcert-list-cas(1) getcert-resubmit(1) getcert-start-tracking(1) getcert-stop-tracking(1) cert- monger-certmaster-submit(8) certmonger-ipa-submit(8) certmonger_selinux(8) certmonger Manual 26 June 2012 certmonger(8)
All times are GMT -4. The time now is 08:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy