關於 date 指令 - Linux

Quintina avatar
By Quintina
at 2010-11-08T04:37

Table of Contents

我在使用 CentOS 5.5 剛剛發現 date 指令怪怪的

當我輸入 date 及 hwclock 指令時都正常顯示現在日期時間,

但當我輸入 date -u 卻是顯示昨天而且時間都不正常,請問有人知

道怎麼解決這問題?

謝謝

--
Tags: Linux

All Comments

Liam avatar
By Liam
at 2010-11-09T18:34
... -u 代表回傳 UTC 時間, 台灣是 UTC+8 所以現在會是七
Ingrid avatar
By Ingrid
at 2010-11-14T02:45
號晚上九點多, 和台灣「差一天」=_= 以後請在下指令之前
了解指令的意義, 並詳閱 man 的內容...
Isla avatar
By Isla
at 2010-11-17T20:36
thank you

使用script產生目錄

Dorothy avatar
By Dorothy
at 2010-11-07T17:33
※ 引述《qweqweqweqwe (啪)》之銘言: : 剛遇到另一個問題 : 如果有一行command是 : echo and#34;abcand#34;|sh myscript aaa bbb : aaa在script對應到 $1 : bbb對應到 $2 : 那 and#34;abcand#34;是對 ...

ppstream for linux出了

Jessica avatar
By Jessica
at 2010-11-07T11:17
稍微整理一下大家的作法 我的版本是 ubuntu 10.10 64bit sudo apt-get install libqt4-core libqt4-dbus libqt4-gui libqt4-network libqt4-webkit libqt4-xml libfuse2 mplayer su ...

筆電部份Fn失效

Connor avatar
By Connor
at 2010-11-07T11:06
我的筆電是Lenovo G460 測試以下功能的時候發現有問題 Fn + Esc 開關視訊 Fn + F3 切換LCD顯示 Fn + F4 切換解析度 Fn + F5 開關無線網路及藍牙 Fn + F9~F12 多媒體面板 還 ...

使用script產生目錄

Isabella avatar
By Isabella
at 2010-11-07T10:57
要寫一個script 目標是要產生參數為檔名的資料夾 ex. sh filecreat add aa 我就要在一個 ~/.r/ 下面產生aa的資料夾 #!/bin/bash if [ $1 = add ]; then namelist=$`find ~/.r |cut -d ...

Fedora 13 Samba設定

Zanna avatar
By Zanna
at 2010-11-07T07:18
※ 引述《and#34;Cosand#34; andlt;cosatms60.url.com.twandgt;, 看板: Linux》之銘言: : 我才發現,windows xp 應該是在某一個更新之後(windows update) 存在這種 bug : 會強迫你使用登入 windows 的帳號登入 sam ...