10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello all
I am new to programming and trying to compile this code
#include <asm/unistd.h>
#include <sys/mman.h>
#include <unistd.h>
#include <errno.h>
#define MREMAP_MAYMOVE 1
#define MREMAP_FIXED 2
#define __NR_real_mremap __NR_mremap
static inline _syscall5( void *,... (2 Replies)
Discussion started by: crustymonkey
2 Replies
2. Shell Programming and Scripting
Below is the out put of the decrypt command.
Decrypt Command:
/usr/bin/gpg --yes --batch --output file.xml --decrypt file.xml.gpg
Output:
gpg: encrypted with 2048-bit RSA key, ID 96301328, created 2014-04-29
"XYZ <xyz@abc.com>"
gpg: encrypted with 2048-bit ELG-E key, ID ECB614CF,... (5 Replies)
Discussion started by: Ariean
5 Replies
3. Shell Programming and Scripting
Hi,
I have an already running Production script that I need to simulate in QA. The script is trying to decrypt some files using the below command:
pgp --decrypt ${GET_DIR}/*.pgp --home-dir /.pgp
I am getting the following error:
1080:no private key could be found for decryption
Can... (3 Replies)
Discussion started by: Jigsaw16
3 Replies
4. UNIX for Dummies Questions & Answers
Hi i have the path for encrytion file in unix and i want to decrypt the .cpt file in unix and change the password
how can i do that . (3 Replies)
Discussion started by: lily
3 Replies
5. Shell Programming and Scripting
how to decrypt a file using unix Scipts .
i am using one code that is working in the manual testing...
echo $pass_phrase|gpg --output $filename_DEx --batch --passphrase-fd 0 --decrypt $filename_DEx_enc
in the informatica level its not working..
can anybody help me in this?
thanks... (1 Reply)
Discussion started by: rajesh_pola
1 Replies
6. Shell Programming and Scripting
Hi,
Something bizarre is happening while decrypting the files. I had a decrypt script which was working smoothly on
uname -a
Linux ######### 2.6.9-89.ELsmp #1 SMP Mon Apr 20 10:33:05 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux
After the front-end application was moved to
uname -a
Linux... (2 Replies)
Discussion started by: dips_ag
2 Replies
7. Shell Programming and Scripting
Hi,
I don't know if I am in a correct category with my question.
I want to know what decryption-method is used for this password:
(1) The first stadium is (its stored in the settings.xml of my software):... (2 Replies)
Discussion started by: Mogli1977
2 Replies
8. UNIX for Dummies Questions & Answers
Dear Members,
Can we find if a particular file is encrypted or decrypted.
I need a command by which i should be able to identify if a file is encrypted or decrypted.
How can we do this? (1 Reply)
Discussion started by: sandeep_1105
1 Replies
9. UNIX for Dummies Questions & Answers
Hello guys !
I have used "crypt <first> second" command to encrypt "first" to "second" file. i have assign a key for that of course.
Now when i try to look content of "seocnd" file through "cat second" command, the file is encrypted and cannot be read which is according to plan.
But when... (3 Replies)
Discussion started by: abidmalik
3 Replies
10. UNIX for Dummies Questions & Answers
whats the most sufficient way to make decryption software? What are the recoomendations for one? (3 Replies)
Discussion started by: Phatress
3 Replies
GRD2CPT(l) GRD2CPT(l)
NAME
grd2cpt - Read a grdfile and make a color palette file
SYNOPSIS
grd2cpt grdfile [ -Ccptmaster ] [ -I ] [ -Lminlimit/maxlimit ] [ -Szstart/zstop/zinc ] [ -V ] [ -Z ]
DESCRIPTION
grd2cpt reads a grdfile and writes a color palette (cpt) file to standard output. The cpt file is based on an existing master cptfile of
your choice, and the mapping from data value to colors is through the data's cumulative distribution function (CDF), so that the colors
are' histogram equalized. Thus if the resulting cpt file is used with the grdfile and grdimage with a linear projection, the colors will be
uniformly distributed in area on the plot. Let z be the data values in the grdfile. Define CDF(Z) = (# of z < Z) / (# of z in grdfile).
(NaNs are ignored). These z-values are then normalized to the master cptfile and colors are sampled at the desired intervals.
grdfile
The 2-D binary grdfile used to derive the color palette table.
OPTIONS
-C Selects the master color table to use in the interpolation. Choose among the built-in tables (type grd2cpt to see the list) or give
the name of an existing cptfile [Default gives a rainbow cpt file].
-I Reverses the sense of color progression in the master cptfile.
-L Limit range of cptfile to minlimit/maxlimit, and don't count data' outside range when estimating CDF(Z). [Default uses min and max
of data.]
-S Set steps in cpt file. Calculate entries in cptfile from zstart to zstop in steps of (zinc). [Default chooses arbitrary values by a
crazy scheme.]
-V Verbose operation. This will write CDF(Z) estimates to stderr. [Default is silent.]
-Z Will create a continuous color palette. [Default is discontinuous, i.e., constant color intervals]
EXAMPLES
Sometimes you don't want to make a cpt file (yet) but would find it helpful' to know that 90% of your data lie between z1 and z2, something
you cannot learn from grdinfo. So you can do this to see some points on the CDF(Z) curve (use -V option to see more):
grd2cpt mydata.grd -V > /dev/null
To make a cpt file with entries from 0 to 200 in steps of 20, and ignore data below zero in computing CDF(Z), and use the built-in master
cptfile relief, try
grd2cpt mydata.grd -Crelief -L0/10000 -S0/200/20 > mydata.cpt
SEE ALSO
gmtdefaults(1gmt), gmt(1gmt), grdhisteq(1gmt), grdinfo(1gmt), makecpt(1gmt)
1 Jan 2004 GRD2CPT(l)