Below command can be
used.
All Linux Operating Systems
date --set="<dd> <mon> <yyyy> <hr>:<mm>:<ss>"
For e.g. if you want
to set the date/time to 15th August 2019 13:10:20 your command will look like
this.
date --set="15 AUG 2019 13:10:20"
Products to which Article Applies
All Linux Operating Systems
Additional Reference
tarun boyella
No comments:
Post a Comment