Skip to content

Instantly share code, notes, and snippets.

@dungdt88
Last active September 29, 2017 06:43
Show Gist options
  • Save dungdt88/e6229a653a3ca9cbb8356d5db2e753da to your computer and use it in GitHub Desktop.
Save dungdt88/e6229a653a3ca9cbb8356d5db2e753da to your computer and use it in GitHub Desktop.
Set Date / Time on Linux

Update Time

date +%T -s "HH:mm:ss"

For example:

date +%T -s "15:28:00"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment