ubuntu .sh file get datetime code example Example: datetime echo shell script $(date '+%d/%m/%Y %H:%M:%S')