2
votes
1answer
237 views

Sorting a checksums file by file name

I'm trying to sort the output of the md5sum program by file name, numerically (that is, file names all match log-\d+\.txt). I tried sort -g "-t " -k 2 CHECKSUMS but it sorts by checksum. Using ...
0
votes
1answer
295 views

how to use md5sum on certain files

Imagine I have a filelist like this: file1.php file2.php login1.php login2.php logout1.php logout2.php And I want to do an md5sum on files called login* <- something like that. I need to count ...
3
votes
3answers
2k views

Get md5sum without file name?

I need to get the md5 sum of a file on AIX, but the md5sum program prints the sum followed by the name of the file. How can I get the sum without the file name.