Skip to content

Instantly share code, notes, and snippets.

@andrzejkaszkowiak
Created April 22, 2020 05:19
Show Gist options
  • Save andrzejkaszkowiak/63dd82b3001b619468edb0531a3e21f6 to your computer and use it in GitHub Desktop.
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'.
#!/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