02-17-2009
is that all content of that file?
use md5sum to check
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
Is it possible to check if a host is accepting connections on a particular port using a shell script? Can't we automate telnet to check for the same?
Thanks in advance
Azmath H Shaik (3 Replies)
Discussion started by: azmathshaikh
3 Replies
2. Shell Programming and Scripting
I need to write a script for:
I have two files where I need to check entries and sort of compare:
file1:
data01
data02
data03
data04
data05
.
.
.
data81
file2:
/vol/vx/data01
/vol/vx/data02
/vol/vx/data03
/vol/vx/data04
/vol/vx/data05
. (8 Replies)
Discussion started by: za_7565
8 Replies
3. UNIX for Dummies Questions & Answers
I have a process that spits out a file called sqlplus.out, here is what the result looks like:
Currently the value you see is zero, what I need to do is perform an action if that value is non-zero, so how do I check that value in an if statement? If it helps at this moment in development the... (6 Replies)
Discussion started by: philplasma
6 Replies
4. Shell Programming and Scripting
please help me providing the code of checking a string pure numeric or not and pure alphanumeric or not (6 Replies)
Discussion started by: arghya_owen
6 Replies
5. Shell Programming and Scripting
lets think str is a variable...how can i check it is pure alphabetic or not
for numeric checking i have used echo $str|grep -v ]
but the command echo $str|grep -v ] is not working (1 Reply)
Discussion started by: arghya_owen
1 Replies
6. Shell Programming and Scripting
I have a file as shown below:
%( PHASES
P
%)
%( SOURCES
(10,0.0)
(13,0.0)
(16,0.0)
(19,0.0)
(22,0.0)
(25,0.0)
(28,0.0)
(31,0.0)
(34,0.0)
(37,0.0)
(40,0.0)
(43,0.0) (3 Replies)
Discussion started by: kristinu
3 Replies
7. What is on Your Mind?
Hi,
would some kindly explain what is mean by BITS in forum saving bits,checking bits etc. and what it is for? (1 Reply)
Discussion started by: malikshahid85
1 Replies
8. Shell Programming and Scripting
Hi,
I have to check file is available in particular directory.
if ( -d $dir ){
print "It will say that is dir ";
else
print "It will say that is not dir";
}
Not like this. I want to check that dir having files or not ?
Please advice
Thanks,
Mani (1 Reply)
Discussion started by: Mani_apr08
1 Replies
9. SCO
Hi, (i'm sorry for my english)
I'm a problem on boot sco unix 5.0.5 open server.
this stop at "Checking protected password and checking subsystem databases"
(See this image )
I'm try this:
1) http://www.digipedia.pl/usenet/thread/50/37093/#post37094
2) SCO: SCO Unix - Server hangs... (9 Replies)
Discussion started by: buji
9 Replies
LEARN ABOUT CENTOS
md5sum
MD5SUM(1) User Commands MD5SUM(1)
NAME
md5sum - compute and check MD5 message digest
SYNOPSIS
md5sum [OPTION]... [FILE]...
DESCRIPTION
Print or check MD5 (128-bit) checksums. With no FILE, or when FILE is -, read standard input.
-b, --binary
read in binary mode
-c, --check
read MD5 sums from the FILEs and check them
--tag create a BSD-style checksum
-t, --text
read in text mode (default)
Note: There is no difference between binary and text mode option on GNU system.
The following four options are useful only when verifying checksums:
--quiet
don't print OK for each successfully verified file
--status
don't output anything, status code shows success
--strict
exit non-zero for improperly formatted checksum lines
-w, --warn
warn about improperly formatted checksum lines
--help display this help and exit
--version
output version information and exit
The sums are computed as described in RFC 1321. When checking, the input should be a former output of this program. The default mode is
to print a line with checksum, a character indicating input mode ('*' for binary, space for text), and name for each FILE.
GNU coreutils online help: <http://www.gnu.org/software/coreutils/> Report md5sum translation bugs to <http://translationproject.org/team/>
BUGS
The MD5 algorithm should not be used any more for security related purposes. Instead, better use an SHA-2 algorithm, implemented in the
programs sha224sum(1), sha256sum(1), sha384sum(1), sha512sum(1)
AUTHOR
Written by Ulrich Drepper, Scott Miller, and David Madore.
COPYRIGHT
Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
SEE ALSO
The full documentation for md5sum is maintained as a Texinfo manual. If the info and md5sum programs are properly installed at your site,
the command
info coreutils 'md5sum invocation'
should give you access to the complete manual.
GNU coreutils 8.22 June 2014 MD5SUM(1)