10-18-2010
It worked thank you very much. I have no idea why I did'nt think of that. Thank you again.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am using Unix as my OS on my server and would like to format my hard drive. How do I go about wiping my hard drive or is there a removal tool that I can use? (1 Reply)
Discussion started by: anaconda
1 Replies
2. Shell Programming and Scripting
I have a shell, which locks calls an expect script that connects to an sftp and downloads all files.
I need it to then check each file in my directory and compare the sizes. If the file name and file size match, then delete the file on the server.
Is this possible?
:confused: (2 Replies)
Discussion started by: tariqjamal
2 Replies
3. Red Hat
Hi All,
I have a RPM for an Java based application. Currently it works fine.
But recently I want to implement that when newer packages gets installed over the older one, the rpm should only update the older files with the newer one (I know this could be done by rpm -Uvh xxx.rpm), but it... (0 Replies)
Discussion started by: jw_amp
0 Replies
4. UNIX for Dummies Questions & Answers
I have one process which creates semaphore with permission 600. Then at some part of the code I have line where this semaphore will be removed. Problem I have is that other processes in my program also try to execute this line of code. Of course since they dont have permission they wont be able to... (1 Reply)
Discussion started by: joker40
1 Replies
5. Shell Programming and Scripting
I have a multi-line string I'm trying to do some clean-up on.
Example:
1|575|67866|"fgnhdgj"|"afhgajh
agfajgf
ahfjhgfk
ahfkhf"|568
2|56|5435|"mayank"|"gupta
gdja
agdjagf"|677
3|5666|5435|"mayank"|"gupta
gdja
agdjagf"|677
I need a shell script that replace all \n under " ". (11 Replies)
Discussion started by: mayankgupta18
11 Replies
6. Shell Programming and Scripting
Hi,
I have some folders (containing files) which gets created daily and names start with 'TT_' . I would like to remove these folders every month end.
Could you please provide me the commands and also the syntax to schedule through crontab.
Thanks,
Archana (3 Replies)
Discussion started by: archana.n
3 Replies
7. UNIX for Dummies Questions & Answers
Hi guys,
I am trying to remove lines that have a duplicate substring from any part in the file. So, for ex:
433043950359.3 5033 305935 2 2dd 5ffgs DOG43453552.A
3443565634 95460 3435 45 23d 56ggh DOG343211
3423895702359 34 66699 9455 2324 DOG43453552.B
This is a very large file, and... (1 Reply)
Discussion started by: verse123
1 Replies
8. Shell Programming and Scripting
Hello,
I tried to write a bash script (code is below) that does scp files that contain a certain string, and that subsequently deletes only those files that have been copied (in my case new files are created every second so it is important to only delete those that have been copied). The key is... (0 Replies)
Discussion started by: kjartan
0 Replies
9. Shell Programming and Scripting
Our university has upgraded its version of a computational chemistry program that our group uses quite regularly. In the past we have been able to extract frequency spectra from log files that are generated. Since the upgrade, the viewing program errors out. I've been able to trace down the changes... (16 Replies)
Discussion started by: wsuchem
16 Replies
10. Shell Programming and Scripting
Hi ,
Can any one help me out how to remove space from below line
select file_name from dba_data_files where tablespace_name='SYSTEM ----space---- ';
i want as :
select file_name from dba_data_files where tablespace_name='SYSTEM';
my code i use
file=/u01/script/latest/tbs.temp
while... (14 Replies)
Discussion started by: Praful Pednekar
14 Replies
GENDSA(1) OpenSSL GENDSA(1)
NAME
gendsa - generate a DSA private key from a set of parameters
SYNOPSIS
openssl gendsa [-out filename] [-des] [-des3] [-idea] [-rand file(s)] [-engine id] [paramfile]
DESCRIPTION
The gendsa command generates a DSA private key from a DSA parameter file (which will be typically generated by the openssl dsaparam
command).
OPTIONS
-des|-des3|-idea
These options encrypt the private key with the DES, triple DES, or the IDEA ciphers respectively before outputting it. A pass phrase is
prompted for. If none of these options is specified no encryption is used.
-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 gendsa 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.
paramfile
This option specifies the DSA parameter file to use. The parameters in this file determine the size of the private key. DSA parameters
can be generated and examined using the openssl dsaparam command.
NOTES
DSA key generation is little more than random number generation so it is much quicker that RSA key generation for example.
SEE ALSO
dsaparam(1), dsa(1), genrsa(1), rsa(1)
1.0.0 2009-04-10 GENDSA(1)