09-06-2017
How to generate a large file in Linux ?
RHEL 7.3
In Linux, how can I create a large dummy file which is 15GB in size ?
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
I have a excel file which has almost ten columns on the shared drive. I have to write a shell script to ftp that daily to unix server and then extract some columns from there and generate oracle standard text file. The columns should be in proper order and aligned properly, otherwise... (1 Reply)
Discussion started by: isingh786
1 Replies
2. Shell Programming and Scripting
Hi Scripting Gurus,
I am trying to parse a csv file and generate a new output file.
The input file will be a variable length in turns of rows and columns.
output file will have 8 columns. we have three columns from the header for each set.
just to give little bit more clarification each row... (15 Replies)
Discussion started by: vkr
15 Replies
3. Red Hat
I use red hat linux es 5
I use startx to start the x-win desktop.
But when I use vritual manager .
The display application is too large so the bottom
part for the application cannot show out.
I cannot scroll down to get the display of bottm part .
So, I do not know what button display at the... (0 Replies)
Discussion started by: chuikingman
0 Replies
4. Shell Programming and Scripting
Dear Members,
I have a table in Oracle DB and one of its column name is INFO which has data in text format which we need to fetch in a script and create an xml file of a new table from the input.
The contents of a single cell of INFO column is like:
Area:app - aam
Clean Up Criteria:... (0 Replies)
Discussion started by: Yoodit
0 Replies
5. Programming
cannot generate .ko file on my linux, although it can generate module.symvers.
But when I copy .c file and Makefile to another linux computer, there's no problem.
The strange thing is: make is successfuly executed, and returned 0;
make output:
make -C /lib/modules/2.6.18-92.el5xen/build ... (4 Replies)
Discussion started by: vistastar
4 Replies
6. Shell Programming and Scripting
Hi,We have an interface which extracts data from database tables, spool the records into text files, and copy those files using SFTP to a windows server location. The target system loads these files into its database using some DTS packages in SQL Server.
This interface of exporting text files... (13 Replies)
Discussion started by: urjagadeesh
13 Replies
7. Shell Programming and Scripting
Hi All,
I have a requirement where I need to go to a directory, list all the files that start with person* (for eg) & read the most recent file from the list of files.
While browsing through the forum, i found that the command ls -t will list the files. I am trying to generate the output... (1 Reply)
Discussion started by: dsfreddie
1 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
I am trying to generate a file through a LINUX scripting as shown below
export field1=`cat dir/filename1.txt |wc -l`
echo "field1 : $field1 >>dir/WeeklySummaryReport.txt
export field2=`cat dir/filename2.txt |wc -l`
echo "field2 : $field2 >>dir/WeeklySummaryReport.txt
While... (5 Replies)
Discussion started by: dsfreddie
5 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
I am trying to generate a weekly HTML report using LINUX Scripting. This will have record counts of some files. (like below)
touch path/filename.html
echo "Weekly Summary Report for Business Date : $P_BUS_DT">path/filename.html
export A1=`cat path/filename1.txt |wc -l`
echo "A1... (6 Replies)
Discussion started by: dsfreddie
6 Replies
10. Shell Programming and Scripting
hi all i want a script to FTP a file and should generate a quality checksum file
means when I FTP a file from one server to another server it should generate a QC file which should contain timestamp,no.of records in that file
Thanks in advance
saikumar (3 Replies)
Discussion started by: hemanthsaikumar
3 Replies
LEARN ABOUT REDHAT
rsa_sign_asn1_octet_string
RSA_sign_ASN1_OCTET_STRING(3) OpenSSL RSA_sign_ASN1_OCTET_STRING(3)
NAME
RSA_sign_ASN1_OCTET_STRING, RSA_verify_ASN1_OCTET_STRING - RSA signatures
SYNOPSIS
#include <openssl/rsa.h>
int RSA_sign_ASN1_OCTET_STRING(int dummy, unsigned char *m,
unsigned int m_len, unsigned char *sigret, unsigned int *siglen,
RSA *rsa);
int RSA_verify_ASN1_OCTET_STRING(int dummy, unsigned char *m,
unsigned int m_len, unsigned char *sigbuf, unsigned int siglen,
RSA *rsa);
DESCRIPTION
RSA_sign_ASN1_OCTET_STRING() signs the octet string m of size m_len using the private key rsa represented in DER using PKCS #1 padding. It
stores the signature in sigret and the signature size in siglen. sigret must point to RSA_size(rsa) bytes of memory.
dummy is ignored.
The random number generator must be seeded prior to calling RSA_sign_ASN1_OCTET_STRING().
RSA_verify_ASN1_OCTET_STRING() verifies that the signature sigbuf of size siglen is the DER representation of a given octet string m of
size m_len. dummy is ignored. rsa is the signer's public key.
RETURN VALUES
RSA_sign_ASN1_OCTET_STRING() returns 1 on success, 0 otherwise. RSA_verify_ASN1_OCTET_STRING() returns 1 on successful verification, 0
otherwise.
The error codes can be obtained by ERR_get_error(3).
BUGS
These functions serve no recognizable purpose.
SEE ALSO
ERR_get_error(3), objects(3), rand(3), rsa(3), RSA_sign(3), RSA_verify(3)
HISTORY
RSA_sign_ASN1_OCTET_STRING() and RSA_verify_ASN1_OCTET_STRING() were added in SSLeay 0.8.
0.9.7a 2002-09-25 RSA_sign_ASN1_OCTET_STRING(3)