Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 md5 of all files starting with login, continuing with whatever.

How do I do this, please?

share|improve this question
up vote 4 down vote accepted
md5sum login*

If that doesn't work, you're trying to take the md5sum of files that don't even exist.

share|improve this answer
    
md5sum: login*: No such file or directory – Richard Rodriguez Apr 7 '11 at 19:21
    
Then you're trying to take the md5sum of files that don't even exist. – Ignacio Vazquez-Abrams Apr 7 '11 at 19:26
    
Uhm I feel so stupid, I have no idea why this didn't work before, but I'd swear I tried this at some point. Well, thanks, it works .. – Richard Rodriguez Apr 7 '11 at 19:34

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .