md5sum

Harold iscreamkid at gmail.com
Wed Mar 12 19:28:47 MST 2014


Grep needs the text it is to search for as a quoted string.

On second thought, that is the directions I found on the net, but as 
there are no spaces it it it may work without them.
Test on your project and share.

Harold

On 03/12/2014 07:17 PM, Michael Havens wrote:
> md5sum linuxmint-13-mate-dvd-64bit.iso
>  2d84f671ad77a8019dfa6e1d00572d82  linuxmint-13-mate-dvd-64bit.iso
> echo '2d84f671ad77a8019dfa6e1d00572d82 
> linuxmint-13-mate-dvd-64bit.iso' | md5sum -c
>  md5sum: standard input: no properly formatted MD5 checksum lines found
>
> then I got Harold's message and that worked like a charm; although....
>
>   * md5sum FileName | grep "96b13dbbc9f3bc569ddad9745f64b9cdb43ea9ae"
>
> Why do you put the quotes in your text? I tried it w/o and with and it 
> works both ways.
>
> :-)~MIKE~(-:
>
>
> On Wed, Mar 12, 2014 at 6:45 PM, James Mcphee <jmcphe at gmail.com 
> <mailto:jmcphe at gmail.com>> wrote:
>
>     Either eyeball it, drop the md5sum in a file and -c it.  Or pull
>     it into stdin somehow and don't give -c an argument.
>
>     jmcphee at mcphee ~ :) $ md5sum hosts.v2.dr
>     c941500d0f13118ead7c1d1eb79dec6b  hosts.v2.dr
>     jmcphee at mcphee ~ :) $ echo 'c941500d0f13118ead7c1d1eb79dec6b
>      hosts.v2.dr' | md5sum -c
>     hosts.v2.dr: OK
>
>
>
>     On Wed, Mar 12, 2014 at 5:42 PM, Michael Havens <bmike1 at gmail.com
>     <mailto:bmike1 at gmail.com>> wrote:
>
>         thanks James. I think the cksum is correct. So with the 'c'
>         flag it will check each file against the checksums in a text
>         file. I remember doing that with linuxfromscratch. What if you
>         only have one sum? What flag should I enter.... well, let's
>         check 'man'. Man says check info and info doesn't tell me. Is
>         there a way to check one file easily?
>
>         :-)~MIKE~(-:
>
>
>         On Wed, Mar 12, 2014 at 5:21 PM, James Mcphee
>         <jmcphe at gmail.com <mailto:jmcphe at gmail.com>> wrote:
>
>             The -c flag is for when the file you're putting is a text
>             file with a bunch of checksums in it.  Simply do not use -c.
>
>
>             On Wed, Mar 12, 2014 at 5:14 PM, Michael Havens
>             <bmike1 at gmail.com <mailto:bmike1 at gmail.com>> wrote:
>
>                 I downloaded a file and want to check it's sum to make
>                 sure it aI got a good D/L. I think I'm doing it wrong.
>                 I d/l the file and type in:
>
>                 md5sum -c linuxmint-13-mate-dvd-64bit.iso
>
>                 and md5sum seems to open the iso and check the files in it.  Here is the output:
>
>                 http://www.firedrive.com/file/DB5BBE6C682CA50D
>
>
>
>
>
>
>
>
>                 What am I doing wrong?
>
>                 :-)~MIKE~(-:
>
>                 ---------------------------------------------------
>                 PLUG-discuss mailing list -
>                 PLUG-discuss at lists.phxlinux.org
>                 <mailto:PLUG-discuss at lists.phxlinux.org>
>                 To subscribe, unsubscribe, or to change your mail
>                 settings:
>                 http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
>
>
>             -- 
>             James McPhee
>             jmcphe at gmail.com <mailto:jmcphe at gmail.com>
>
>             ---------------------------------------------------
>             PLUG-discuss mailing list -
>             PLUG-discuss at lists.phxlinux.org
>             <mailto:PLUG-discuss at lists.phxlinux.org>
>             To subscribe, unsubscribe, or to change your mail settings:
>             http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
>
>         ---------------------------------------------------
>         PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>         <mailto:PLUG-discuss at lists.phxlinux.org>
>         To subscribe, unsubscribe, or to change your mail settings:
>         http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
>
>
>     -- 
>     James McPhee
>     jmcphe at gmail.com <mailto:jmcphe at gmail.com>
>
>     ---------------------------------------------------
>     PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
>     <mailto:PLUG-discuss at lists.phxlinux.org>
>     To subscribe, unsubscribe, or to change your mail settings:
>     http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20140312/3ed90479/attachment.html>


More information about the PLUG-discuss mailing list