05-06-2009
I have got the below output
Note: I have changed 90 by 20 for test only
\033[31m38\033[0m 19 \033[31m37\033[0m
\033[31m31\033[0m \033[31m32\033[0m 12
\033[31m30\033[0m 19 \033[31m35\033[0m
\033[31m27\033[0m \033[31m23\033[0m \033[31m21\033[0m
\033[31m21\033[0m \033[31m27\033[0m \033[31m24\033[0m
\033[31m24\033[0m \033[31m20\033[0m \033[31m24\033[0m
\033[31m30\033[0m \033[31m25\033[0m \033[31m21\033[0m
\033[31m27\033[0m 18 \033[31m22\033[0m
\033[31m30\033[0m \033[31m26\033[0m \033[31m25\033[0m
\033[31m30\033[0m \033[31m20\033[0m \033[31m26\033[0m
\033[31m24\033[0m \033[31m23\033[0m \033[31m21\033[0m
\033[31m31\033[0m \033[31m20\033[0m \033[31m26\033[0m
Any idea...
7 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I want to change the color of the text. Currently, I am using the following VT100 command, which changes the color of the foreground:
<ESC>[{attr1};...;{attrn}m
The problem is, when I change the color of the foreground, it changes the color of the text as expected, but it also... (4 Replies)
Discussion started by: Abed Alnaif
4 Replies
2. UNIX for Dummies Questions & Answers
Hi Gurus,
I have a small requirement where i want to change the color & font of some text in a file.
i have a file error.txt which will be created in the script using egrep.
After that iam adding these lines at head & tail to that file using the following code
awk 'BEGIN{print"Please... (4 Replies)
Discussion started by: pssandeep
4 Replies
3. Shell Programming and Scripting
Good morning,
Can someone help to color a figure in columns if its exceeding a threshold using shell script .
ex. I have file contains 5 columns showing a value in % I need to show the value in red if it exceed 90 %
Appreciate your help (3 Replies)
Discussion started by: Bluetoot
3 Replies
4. Red Hat
Hi. How do I change the background color and text in Fedora. I did find the set_color -b command.
Thanks (1 Reply)
Discussion started by: Ccccc
1 Replies
5. Programming
I'm writing my own Unix ls command in c and I was wondering if anyone knows how to or can point me to a tutorial that shows me how to change the text color of the filename depending on if it's a directory, regular file, linked file, etc..., like the real ls command does? Thanks. (4 Replies)
Discussion started by: snag49ers
4 Replies
6. AIX
I want to color the text and bold the text and mail these text.
input:
hi..(in bold)
good morning (in blue color)
and mail these as in color and bold
:wall: (1 Reply)
Discussion started by: AhmedLakadkutta
1 Replies
7. AIX
Hi
I'd like to print color text and I've tried this: echo "\033but it didn't woked. When I changed 0 --> 1/4/5, the text "HI" --> bold/underline/blink, but when I changed 31 or 33 to other values, the color didn't change.
What's the problem. Need to install something ??? (8 Replies)
Discussion started by: bobochacha29
8 Replies
LEARN ABOUT CENTOS
genrsa
GENRSA(1) OpenSSL GENRSA(1)
NAME
genrsa - generate an RSA private key
SYNOPSIS
openssl genrsa [-out filename] [-passout arg] [-des] [-des3] [-idea] [-f4] [-3] [-rand file(s)] [-engine id] [numbits]
DESCRIPTION
The genrsa command generates an RSA private key.
OPTIONS
-out filename
the output filename. If this argument is not specified then standard output is used.
-passout arg
the output file password source. For more information about the format of arg see the PASS PHRASE ARGUMENTS section in openssl(1).
-des|-des3|-idea
These options encrypt the private key with the DES, triple DES, or the IDEA ciphers respectively before outputting it. If none of these
options is specified no encryption is used. If encryption is used a pass phrase is prompted for if it is not supplied via the -passout
argument.
-F4|-3
the public exponent to use, either 65537 or 3. The default is 65537.
-rand file(s)
a file or files containing random data used to seed the random number generator, or an EGD socket (see RAND_egd(3)). Multiple files
can be specified separated by a OS-dependent character. The separator is ; for MS-Windows, , for OpenVMS, and : for all others.
-engine id
specifying an engine (by its unique id string) will cause genrsa to attempt to obtain a functional reference to the specified engine,
thus initialising it if needed. The engine will then be set as the default for all available algorithms.
numbits
the size of the private key to generate in bits. This must be the last option specified. The default is 512.
NOTES
RSA private key generation essentially involves the generation of two prime numbers. When generating a private key various symbols will be
output to indicate the progress of the generation. A . represents each number which has passed an initial sieve test, + means a number has
passed a single round of the Miller-Rabin primality test. A newline means that the number has passed all the prime tests (the actual number
depends on the key size).
Because key generation is a random process the time taken to generate a key may vary somewhat.
BUGS
A quirk of the prime generation algorithm is that it cannot generate small primes. Therefore the number of bits should not be less that 64.
For typical private keys this will not matter because for security reasons they will be much larger (typically 1024 bits).
SEE ALSO
gendsa(1)
1.0.1e 2013-02-11 GENRSA(1)