#!/bin/bash read Y m d H M <<<$(date "+%Y %m %d %H %M") echo Az év: $Y echo A hónap: $m echo A nap: $d echo Az óra: $H echo A perc: $M