echo date linux code example Example 1: datetime echo shell script $(date '+%d/%m/%Y %H:%M:%S') Example 2: show date linux date +"%d-%m-%y"