Shell

How to define a variable with the value of the current date?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

DATE=$(date)