echo linux date yyyy-mm-dd hh:mm:ss By ballacksave | January 2, 2023 0 Comment TS=$(date "+%Y-%m-%d %H:%M:%S") echo $TS