Created
April 22, 2020 05:19
-
-
Save andrzejkaszkowiak/63dd82b3001b619468edb0531a3e21f6 to your computer and use it in GitHub Desktop.
Prints to console an MD5 hash from Today's date formatted as following: 'dd/MM/yyyy'.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
date=$(date '+%d/%m/%Y') | |
# -q — quiet mode - only the checksum is printed out | |
md5 -q -s $date |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment