Skip to content

Instantly share code, notes, and snippets.

@jeansymolanza
Last active March 9, 2023 10:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeansymolanza/05b69a05bcd985884d878f353475f869 to your computer and use it in GitHub Desktop.
Save jeansymolanza/05b69a05bcd985884d878f353475f869 to your computer and use it in GitHub Desktop.
RANDOM_SECONDS=$((RANDOM % 60))
DATE_WITH_RANDOM_SECONDS=$(date -d "+${RANDOM_SECONDS} seconds" "+%Y%m%d%H%M%S")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment