TOP > Linux > Fedoraの技 > 101-200 > 150
samba netの利用
sambaのnetコマンドを利用することでLinuxからWindowsサーバの設定を確認することが出来ます。
Windowsの時刻を調べる例です。下記はホスト名は"windows"の場合で、IPアドレスで指定もできます。
# net time -S windows
Mon Apr 11 08:06:27 2005
下記はWindowsのタイムゾーンを調べる例です。
# net time zone -S windows
+0900
2005-12-03 作成