md5sum -c
So today I learned that there's a -c parameter on the md5sum command:
md5sum -c checkfile.md5
This will use the output from a previous run of md5sum piped out to flat text to validate that the files defined in that file match. Sounds simple if you took the time to read the man page. I hadn't, and so now I have to laugh at myself for the oddball workarounds I've done after not having read it.
Same applies to a recent read of 'Learn PostgreSQL' by Ferrari and Pirozzi. I read about Window functions, but when I originally read about rank()
, I stopped reading, when it turns out that first()
did I wanted with less lines of code.
So what I really learned (for probably the ten thousandth time) is don't stop reading.