`echo` would always return with trailing new line char, therefore pass `-n` toneglect the newline. And so md5sum would received a text from pipe with `-t`option
$ echo -n 123456 | md5sum -t
e10adc3949ba59abbe56e057f20f883e -
Post a Comment
No comments:
Post a Comment