![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Compare date from db2 table to yesterday's Unix system date | sasaliasim | Shell Programming and Scripting | 8 | 04-24-2008 03:04 AM |
| Move A File With Same Date,don't Change The Desitination Dir Date | jee.ku2 | UNIX for Dummies Questions & Answers | 1 | 01-09-2008 10:42 AM |
| Change System Date | Ricole | AIX | 1 | 07-26-2006 07:29 PM |
| Change new filename with date ?? | sabercats | Shell Programming and Scripting | 9 | 02-13-2006 02:12 PM |
| file date vs. system date | ober5861 | UNIX for Dummies Questions & Answers | 8 | 09-11-2001 11:36 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
change system date in solaris
dears
any one know how to change system date in solaris |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
As root:
#date <date_you_want_to_change_to> |
|
#3
|
|||
|
|||
|
or use ntp
|
|
#4
|
|||
|
|||
|
you use ntp to change the system date? or you use it to synchronize the time with an ntp server?
|
|
#5
|
||||
|
||||
|
Sure, using NTP changes the system date, so porter is technically corrrect.
|
|
#6
|
|||
|
|||
|
Date on Solaris Machine
I think that you can use the command
date -u command or date -s command with the arguments. Former takes the argumemt in format ddmmyyyyhhmm and latter a string that you get when you give date command on command prompt..this string goes in quotes as argument to date -s Alternatively you can use ntpdate command to set date or synchronize the date with another machine. |
|
#7
|
||||
|
||||
|
NTP is a good option for time syncronisation.
However, I guess for solaris if your system is way too behind (more than 14 mins I think) NTP will fail. |
||||
| Google The UNIX and Linux Forums |