On Thu, Jul 11, 2024 at 7:55 AM 타토카 <cybertat...@gmail.com> wrote: > > And can you explain to me what is it, please? * > > $ alias | grep sha > alias sha1='/usr/bin/openssl dgst -sha1 ' > alias sha256='/usr/bin/openssl dgst -sha256 ' > alias sha512='/usr/bin/openssl dgst -sha512 '
It's a way of getting sha sums for a file. I've been carrying those in my .bashrc file for ages.. I don't remember if I didn't know about the sha1sum program or it didn't exist in cygwin at the time, but I found a method that worked and quit looking. By now it's "muscle memory" -- like returning from vacation and not being able to remember your password, but go down to the cafeteria, get a cup of coffee, return to your desk, turn your PC on and enter your password without thinking. I found a method that worked and don't think about it any more. You probably should use the sha1sum, sha256sum, sha512sum programs though - if only to reduce confusion when you're talking to other people :) Regards Lee