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 ...
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 ...
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.