星期一, 10月 08, 2007

OpenBSD修改系統時間

cd /
# date
Tue Oct 9 00:20:45 CST 2007
# config -e -o bsd bsd
config: no supported exec type
# cd /
# config -e -o bsd bsd
OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
deraadt@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
Enter 'help' for information
ukc> help
help Command help list
add dev Add a device
base 8|10|16 Base on large numbers
change devno|dev Change device
disable attr val|devno|dev Disable device
enable attr val|devno|dev Enable device
find devno|dev Find device
list List configuration
lines count # of lines per page
show [attr [val]] Show attribute
exit Exit, without saving changes
quit Quit, saving current changes
timezone [mins [dst]] Show/change timezone
cachepct [number] Show/change BUFCACHEPERCENT
nkmempg [number] Show/change NKMEMPAGES
shmseg [number] Show/change SHMSEG
shmmaxpgs [number] Show/change SHMMAXPGS
ukc> timezone -480
timezone = -480, dst = 0
ukc> quit
Saving modified kernel.
重開機reboot後
# cd /
# date
Mon Oct 8 16:26:35 CST 2007
已變為正確時間
Read rest of entry
 

Recommended Product

  • ads
  • ads
  • ads
  • ads
  • ads
  • ads
  • ads
  • ads

How to Order?

My Blog List

喜歡不一定擁有 Copyright © 2009 Shopping Bag is Designed by Ipietoon Sponsored by Online Business Journal