用 $date nnddhhmmyyyy.ss
更改timezone
$ sudo dpkg-reconfigure tzdata
就可以把时间设到写的时间了.
nn with two digit month (e.g. 01, 05, 12),
dd with two digit day (e.g. 02, 24, 31),
hh with two digit hour in 24 hour clock format ( 00, 03, 23),
yy/yyyy with the year in two digit or four digit (optional),
and after a period symbol (.) ss with two digit second (00, 05, 59).
更改timezone
$ sudo dpkg-reconfigure tzdata
本文介绍了一种通过特定格式的字符串来设置系统时间的方法,格式包括年、月、日、小时、分钟及秒数,并提供了设置时区的具体命令。
728

被折叠的 条评论
为什么被折叠?



