jueves, 23 de febrero de 2012

Solaris.Set date and time


Setting the system date and time is fairly easy on solaris. Because you can easily set the time from the command line, you can set the time on a server remotely.
date mmddhhmmyy
The date command takes the syntax mmddhhmmyy, or “month day hour minute year”. You have to be superuser to set the time.
Example:
# date 1201010106
Fri Dec  1 01:01:00 PST 2006

No hay comentarios:

Publicar un comentario