6 月 162009
 

修改系統時間date(Linux, BSD) | Tsung’s Blog

要如何修改 UNIX 系統的時間呢?

1. 先用 date ” %Y%m%d%H%M.%S” 查出現在時間.
(或先查好 “年月日時分.秒)
ex: 出現 200507150255.47

2. 直接 date 200507150255.47 就可以修改了.

1. date -s 2005/10/10 改日期

2. date -s 22:10:30 改時間

分兩步驟修改即可.

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

(required)

(required)

CAPTCHA Image
Play CAPTCHA Audio
Reload Image