Created
July 14, 2020 07:42
-
-
Save v-thomp4/8c4efc9b1480495e772f31e3f343128b to your computer and use it in GitHub Desktop.
Set Time, Date Timezone in Linux from Command Line
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set date from the command line | |
date +%Y%m%d -s "20120418" | |
Set time from the command line | |
date +%T -s "11:14:00" | |
Set time and date from the command line | |
date -s "19 APR 2012 11:14:00" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment