Or # date -set=" 11:28:00" Set Linux timezone The method to set the date and time above is: # date -s " 11:28:00" The first mm means month while the second mm means minite.įor example, we can set the date and time to 11:28 on Jby: # date 062211282010.00Īnother way to set new date and time is using the following syntax: # date -set="STRING" The date and time can be set by date command at the same time by: # date mmddhhmmyyyy.ss ![]() ![]() ![]() Hh is hour, mm is minite and ss is second.įor example, we can set the time to 11:28 by: # date +%T -s "11:28:00" Set Linux date and time Linux time can be set using following syntax: # date +%T -s "hh:mm:ss"
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |