linux command date code example
Example 1: show date linux
date +"%d-%m-%y"
Example 2: date command in unix
Command:
$date
Output:
Wed Oct 11 15:23:26 PDT 2017
Command:
$date --set="Tue Nov 13 15:23:34 PDT 2018"
$date
Output:
Tue Nov 13 15:23:34 PDT 2018