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 <jmc...@gmail.com <mailto:jmc...@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@mcphee ~ :) $ md5sum hosts.v2.dr
    c941500d0f13118ead7c1d1eb79dec6b  hosts.v2.dr
    jmcphee@mcphee ~ :) $ echo 'c941500d0f13118ead7c1d1eb79dec6b
     hosts.v2.dr' | md5sum -c
    hosts.v2.dr: OK



    On Wed, Mar 12, 2014 at 5:42 PM, Michael Havens <bmi...@gmail.com
    <mailto:bmi...@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
        <jmc...@gmail.com <mailto:jmc...@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
            <bmi...@gmail.com <mailto:bmi...@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@lists.phxlinux.org
                <mailto:PLUG-discuss@lists.phxlinux.org>
                To subscribe, unsubscribe, or to change your mail
                settings:
                http://lists.phxlinux.org/mailman/listinfo/plug-discuss




-- James McPhee
            jmc...@gmail.com <mailto:jmc...@gmail.com>

            ---------------------------------------------------
            PLUG-discuss mailing list -
            PLUG-discuss@lists.phxlinux.org
            <mailto:PLUG-discuss@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@lists.phxlinux.org
        <mailto:PLUG-discuss@lists.phxlinux.org>
        To subscribe, unsubscribe, or to change your mail settings:
        http://lists.phxlinux.org/mailman/listinfo/plug-discuss




-- James McPhee
    jmc...@gmail.com <mailto:jmc...@gmail.com>

    ---------------------------------------------------
    PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
    <mailto:PLUG-discuss@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@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@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss

Reply via email to