Post

Linux Change Time

1
2
3
4
5
6
7
8
9
/bin/date
/sbin/hwclock --systohc --localtime
/usr/bin/ntpdate

/usr/sbin/crond


/bin/date +%Y%M%D -s 20161201
ntpdate -s 140.122.8.254

~/.profile

1
TZ=‘Asia/Taipei’;export TZ
This post is licensed under CC BY 4.0 by the author.