Hi again,
first of all thanks for you help on my last problem, the problem is solved now.
But I have many problem :)
This time, I transfered a big file, ~3,5 GByte, with ftp from a Sun machine to a linux box, RedHat 7.3. But the file recieved on the Linux Box is corrupt, with smaller files... (12 Replies)
Hey guys i am trying to right script with this:
Input
Valid user input can be in the following formats:
Distance: in miles or kilometers, e.g. 100mi or 100km
Speed: miles per hour or kilometers per hour, e.g. 100m/h or 100km/h
Time: in hours and minutes, e.g. 1hr.20min, 1:20, or any integer... (1 Reply)
Hi,
I have a script I want to run as a background process. Where would I add a bit of script so that a check can be performed to see it this is already running and, where it isn't, to then run it? I know how to do this... I just don't know where I can put the initial part of the check script so... (2 Replies)
Dear Peoples
I am using the following command to transfer the files inbetween two servers, i am using this command in a crontab for doing it in every 1 hour on all days.
rsync --stats --archive --verbose --compress --force --rsh=ssh --exclude-from=/root/cfg/mkt_scn.exclude... (1 Reply)
I have a solaris 5.6 on which oracle is installed.
we have an alert file
alert_net1.log
now whenever any datacorruption happens we get the file id and block id in the above file.
through this file and block id , we try to find out which table is corrupted and then try to... (1 Reply)
Hi,
could any one tell is there any test-suite or any idea How to do data corruption validation testing, means there is no any data corruption ?
Regards
Manish (1 Reply)
Hi eveyone
I am planning to use crontab to delete all files in my donwloads directory that are older than one hour
I will be using crontab to run this script
find /home/kee/downloads/* -daystart -mmin +59 -type f -name -exec rm -r {}\;
could you please let me know if the above... (1 Reply)
hello i have writing a shell script to download and run some packages
the only way that i use to verify download pack is , limit users ip to download from main server, if wget can download file (verified) then script run by execute it sh pack76.sh
else show and error
(stupid solution ha?)
... (8 Replies)
Hello again unix.com
I need some help regarding a script.
I have:
function checkform ( form )
{
if (form.pass.value.length < 6) {
alert( "Error." );
form.pass.focus();
document.getElementById('pass').style.backgroundColor="#FFFFFF";
return... (2 Replies)
Hi guys!
Me again! ...
I'm trying to build (on MacOS directly) a bash script that will help me verify a SHA1 digest (to verify downloads and so on and so forth).
So first off, here's my version of BASH under OSX:
bash-4.4$
And here's my version of Sierra (macOS):
10.12.3 (16D32)
... (2 Replies)
Discussion started by: Ardzii
2 Replies
LEARN ABOUT OSX
md5
MD5(1) BSD General Commands Manual MD5(1)NAME
md5 -- calculate a message-digest fingerprint (checksum) for a file
SYNOPSIS
md5 [-pqrtx] [-s string] [file ...]
DESCRIPTION
The md5 utility takes as input a message of arbitrary length and produces as output a ``fingerprint'' or ``message digest'' of the input. It
is conjectured that it is computationally infeasible to produce two messages having the same message digest, or to produce any message having
a given prespecified target message digest. The MD5 algorithm is intended for digital signature applications, where a large file must be
``compressed'' in a secure manner before being encrypted with a private (secret) key under a public-key cryptosystem such as RSA.
MD5's designer Ron Rivest has stated "md5 and sha1 are both clearly broken (in terms of collision-resistance)". So MD5 should be avoided
when creating new protocols, or implementing protocols with better options. SHA256 and SHA512 are better options as they have been more
resilient to attacks (as of 2009).
The following options may be used in any combination and must precede any files named on the command line. The hexadecimal checksum of each
file listed on the command line is printed after the options are processed.
-s string
Print a checksum of the given string.
-p Echo stdin to stdout and append the checksum to stdout.
-q Quiet mode - only the checksum is printed out. Overrides the -r option.
-r Reverses the format of the output. This helps with visual diffs. Does nothing when combined with the -ptx options.
-t Run a built-in time trial.
-x Run a built-in test script.
EXIT STATUS
The md5 utility exits 0 on success, and 1 if at least one of the input files could not be read.
SEE ALSO cksum(1), md5(3), ripemd(3), sha(3), CC_SHA256_Init(3)
Vlastimil Klima, Finding MD5 Collisions - a Toy For a Notebook, Cryptology ePrint Archive: Report 2005/075.
ACKNOWLEDGMENTS
This program is placed in the public domain for free general use by RSA Data Security.
BSD June 6, 2004 BSD